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 (
415288, 269868, 269870, 265423, 265427,
265433, 265422, 265411, 270140, 269869,
269838, 269871, 265431, 269853, 269845,
269872, 269860, 269867, 265430, 265412
)
AND cscart_product_review_prepared_data.storefront_id = 0