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 (
431687, 414376, 396008, 395983, 431783,
414436, 431802, 414408, 414514, 414393,
431514, 396058, 414329, 396078, 396044,
431590, 414422, 431659, 431552, 431542
)
AND cscart_product_review_prepared_data.storefront_id = 0