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 (
1627, 1628, 1629, 1630, 1631, 1632, 1633,
1634, 1635, 1636, 1637, 1638, 1639,
1640, 1641, 1642, 1643, 1644, 1645,
1646, 1647, 1648, 1649, 1650, 1651,
1652, 5326, 5327, 5328, 5329, 5330,
5331, 5332, 5333, 5334, 5335, 5336,
5337, 5338, 5339, 5340, 5341, 5342,
5343, 5344, 5345, 5346, 5347, 5348,
5349, 5350, 5351, 5352, 2832, 2833,
2834, 2835, 6417, 6418, 6419, 6420,
6421, 2823, 2824, 2825, 2826, 6408,
6409, 6410, 6411, 6412, 2827, 2828,
2829, 2830, 2831, 6413, 6414, 6415,
6416, 2928, 2929, 2930, 2931, 2932,
6513, 6514, 6515, 6516, 3032, 6609,
3028, 3029, 3030, 3031, 6605
)
AND cscart_product_review_prepared_data.storefront_id = 0