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 (
389794, 389795, 429104, 429101, 435255,
427185, 389811, 427191, 390137, 389199,
389479, 427189, 390119, 434586, 391734,
389583, 427194, 390182, 427199, 435317
)
AND cscart_product_review_prepared_data.storefront_id = 0