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 (
309587, 359772, 309590, 359805, 309585,
359808, 309561, 359744, 309550, 359752,
366904, 389637, 359478, 415577, 391690,
309567, 359747, 359740, 415550, 387078
)
AND cscart_product_review_prepared_data.storefront_id = 0