SELECT
cscart_product_review_prepared_data.product_id AS product_id,
cscart_product_review_prepared_data.average_rating AS average_rating,
cscart_product_review_prepared_data.reviews_count AS reviews_count
FROM
cscart_product_review_prepared_data
WHERE
cscart_product_review_prepared_data.product_id IN (
5685, 5686, 5687, 5688, 5689, 5690, 5691,
5692, 5693, 5694, 5695, 5696, 5697,
5698, 5699, 5700, 5701, 5702, 5703,
5704, 5705, 5706, 5707, 5708, 5709,
5710, 5711, 5712, 5713, 5714, 5715,
5716, 5717, 5718, 5719, 5720, 5721,
1479, 1480, 1481, 1482, 1483, 5188,
5189, 5190, 5191, 5192, 5193, 1467,
1468, 1469, 1470, 1471, 5176, 5177,
5178, 5179, 5180, 5181, 447, 448, 449,
450, 451, 452, 453, 454, 455, 1932, 1933,
1934, 1935, 1936, 1937, 1938, 1939,
1940, 1941, 1942, 1943, 1944, 1945,
1946, 1947, 1948, 1949, 1950, 1951,
1952, 1953, 1954, 1955, 1956, 1957,
1958, 1959
)
AND cscart_product_review_prepared_data.storefront_id = 0