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 (
390254, 391772, 391776, 389819, 426892,
390136, 388922, 388480, 389569, 389861,
390118, 390156, 389521, 389238, 390265,
389104, 390154, 415701, 390219, 415478
)
AND cscart_product_review_prepared_data.storefront_id = 0