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 (
286497, 286494, 286498, 286496, 286495,
309535, 309536, 309538, 371820, 309533,
309534, 309532, 371795, 372036, 379725,
372031, 379721, 372033, 371818, 372029
)
AND cscart_product_review_prepared_data.storefront_id = 0