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 (
5449, 5450, 5451, 5452, 5453, 5454, 5455,
5456, 5457, 5458, 5459, 5460, 6727,
1672, 1673, 1674, 1675, 1676, 1677,
1678, 1679, 1680, 1681, 1682, 1683,
1684, 1685, 1686, 1687, 1688, 1689,
1690, 1691, 1692, 1693, 1694, 1695,
1696, 1697, 1698, 1699, 1700, 1701,
1702, 1703, 1704, 1705, 1706, 1707,
1708, 1709, 1710, 1711, 1712, 1713,
1714, 1715, 1716, 1717, 1718, 1719,
1720, 3733, 3735, 3736, 3737, 3738,
5371, 5372, 5373, 5374, 5375, 5376,
5377, 5378, 5379, 5380, 5381, 5382,
5383, 5384, 5385, 5386, 5387, 5388,
5389, 5390, 5391, 5392, 5393, 5394,
5395, 5396, 5397, 5398, 5399
)
AND cscart_product_review_prepared_data.storefront_id = 0