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 (
339511, 339515, 339527, 339513, 339519,
339510, 339518, 339508, 339713, 339525,
339505, 339530, 339514, 339521, 339551,
339501, 339499, 339721, 339495, 339494,
339503, 339531, 339516, 339637, 339539,
339509, 339636, 339538, 339492, 339506,
339724, 339635, 339502, 339537, 339491,
339540, 339524, 339493, 339536, 339520,
339517, 339522, 339526, 339490, 339498,
339528, 339497, 339507, 339512, 339523,
339504, 339500, 339532, 339535, 339534,
339496, 339533, 339529
)
AND cscart_product_review_prepared_data.storefront_id = 0