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