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 (
371809, 371810, 371803, 371801, 371806,
371800, 371805, 371811, 371804, 371812,
371807, 371813, 415240, 185498, 371808,
415311, 206442, 209099, 149369, 415232
)
AND cscart_product_review_prepared_data.storefront_id = 0