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 (
3786, 3787, 3788, 3789, 3790, 3791, 3792,
3793, 3794, 3795, 3796, 3797, 3798,
3799, 3800, 3801, 3802, 3803, 3804,
3805, 3806, 3807, 3808, 3809, 3810,
3811, 3812, 3813, 3814, 3815, 3816,
3817, 3818, 3819, 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
)
AND cscart_product_review_prepared_data.storefront_id = 0