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 (
359580, 359593, 359579, 359591, 359577,
359576, 359583, 359587, 359588, 359578,
359592, 359584, 359581, 359574, 359585,
359575, 359590, 270188, 359582, 372054
)
AND cscart_product_review_prepared_data.storefront_id = 0