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 (
395983, 395989, 414436, 414408, 431590,
431659, 359772, 359805, 309585, 431542,
396002, 431767, 431605, 396027, 431734,
359744, 309550, 359752, 396018, 431506
)
AND cscart_product_review_prepared_data.storefront_id = 0