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 (
3820, 3821, 3822, 3823, 3824, 3825, 3826,
3827, 3828, 3829, 3830, 3831, 3832,
3778, 2103, 2104, 2105, 2106, 2107,
2108, 2109, 2110, 2111, 2112, 2113,
2114, 2115, 2116, 2117, 2118, 2119,
2120, 2121, 2122, 2123, 2124, 2125,
2126, 2127, 2128, 2129, 3752, 3753,
3754, 3755, 3756, 3757, 3758, 3759,
3760, 3761, 3762, 3763, 3764, 3765,
3766, 3767, 3768, 3769, 3770, 3771,
3772, 3773, 3774, 3775, 3776, 3777,
1143, 1139, 1140, 1141, 1142, 3681,
3682, 3683, 3684, 3685, 2207, 2208,
2209, 2210, 2211, 2212, 2213, 2214,
2215, 2216, 5808, 5809, 5810, 5811,
5812, 5813, 5814, 5815, 5816
)
AND cscart_product_review_prepared_data.storefront_id = 0