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 (
366950, 366949, 366948, 366947, 366946,
366945, 366944, 366943, 366942, 366941,
366940, 366939, 366938, 366937, 366936,
366934, 366933, 366932, 366931, 366930
)
AND cscart_product_review_prepared_data.storefront_id = 0