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 (
    2777, 2845, 2846, 2847, 2848, 2849, 2850, 
    2851, 2852, 2853, 2854, 2855, 2856, 
    2857, 2858, 2859, 2860, 2861, 2862, 
    2942, 2943, 2944, 2945, 2946, 2947, 
    2948, 2949, 2950, 3037, 3038, 3039, 
    3040, 3041, 3042, 3043, 3044, 3045, 
    3853, 5790, 5791, 5792, 5793, 5794, 
    5795, 5796, 5797, 5798, 6307
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "Impossible WHERE noticed after reading const tables"
  }
}