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 (
1566, 1567, 1568, 1569, 1570, 1571, 5245,
5246, 5247, 5248, 5249, 5250, 5251,
5252, 5253, 5254, 5255, 5256, 5257,
5258, 5259, 5260, 5261, 5262, 5263,
5264, 5265, 5266, 5267, 5268, 5269,
5270, 5271, 1600, 1601, 1602, 1603,
1604, 1605, 1606, 1607, 1608, 1609,
1610, 1611, 1612, 1613, 1614, 1615,
1616, 1617, 1618, 1619, 1620, 1621,
1622, 1623, 1624, 1625, 5299, 5300,
5301, 5302, 5303, 5304, 5305, 5306,
5307, 5308, 5309, 5310, 5311, 5312,
5313, 5314, 5315, 5316, 5317, 5318,
5319, 5320, 5321, 5322, 5323, 5324,
5325, 1627, 1628, 1629, 1630, 1631,
1632, 1633, 1634, 1635, 1636
)
AND cscart_product_review_prepared_data.storefront_id = 0