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 (
390097, 390098, 390104, 390105, 388372,
396086, 391752, 390099, 388374, 388696,
389454, 388695, 389455, 388673, 389457,
388676, 388406, 388401, 389554, 388694
)
AND cscart_product_review_prepared_data.storefront_id = 0