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 (
1420, 1421, 3157, 5132, 5133, 5134, 5135,
1452, 5161, 1442, 5151, 6734, 6733,
6729, 6710, 1721, 1722, 1723, 1724,
1725, 1726, 1727, 1728, 1729, 1730,
1731, 1732, 1733, 1734, 1735, 1736,
1737, 1738, 1739, 1740, 1741, 1742,
1743, 1744, 1745, 1746, 1747, 1748,
1749, 1750, 1751, 1752, 1753, 1754,
1755, 1756, 1757, 1758, 1759, 1760,
1761, 1762, 1763, 1764, 1766, 1767,
1768, 1769, 3739, 3740, 3741, 3742,
5415, 5416, 5417, 5418, 5419, 5420,
5421, 5422, 5423, 5424, 5425, 5426,
5427, 5428, 5429, 5430, 5431, 5432,
5433, 5434, 5435, 5436, 5437, 5438,
5439, 5440, 5441, 5442, 5443
)
AND cscart_product_review_prepared_data.storefront_id = 0