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 (
389841, 389843, 389844, 389845, 389846,
389847, 389849, 389850, 389851, 389852,
389854, 389855, 389856, 389857, 389858,
389859, 389860, 389861, 389862, 389863
)
AND cscart_product_review_prepared_data.storefront_id = 0