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 (
371861, 371848, 371878, 371873, 371884,
371890, 371868, 371898, 371895, 371936,
371902, 377755, 371912, 372021, 377735,
371917, 371984, 371905, 371843, 371945
)
AND cscart_product_review_prepared_data.storefront_id = 0