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 (
390307, 389496, 390312, 390313, 390314,
390185, 389409, 389430, 388573, 415615,
389419, 389555, 389498, 388933, 389421,
388816, 388405, 426899, 389411, 389417
)
AND cscart_product_review_prepared_data.storefront_id = 0