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 (
339722, 339759, 339783, 339652, 339667,
339630, 339644, 339747, 339645, 339744,
339748, 339676, 339580, 339576, 339556,
339633, 339591, 339583, 339553, 339711
)
AND cscart_product_review_prepared_data.storefront_id = 0