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 (
271510, 271509, 271508, 271507, 271506,
271505, 271504, 271503, 271502, 271501,
271500, 271499, 271498, 271497, 271496,
271494, 271493, 271492, 271490, 271489
)
AND cscart_product_review_prepared_data.storefront_id = 0