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 (
    8408, 8409, 10177, 8405, 8406, 9943, 
    16031, 8407, 8649, 36024, 36025, 26577, 
    12085, 26543, 26539, 31010, 39503, 
    12086, 40547, 40112, 40580, 12088, 
    40714, 33996, 12087, 26542, 36036, 
    33791, 40836, 40232, 40208, 40469, 
    40616, 26537, 40738, 36041, 40374, 
    40088, 40787, 40679, 40516, 40350, 
    34008, 40812, 40762, 40160, 40326, 
    40422, 40136, 40302
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00088

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "35.01"
    },
    "table": {
      "table_name": "cscart_product_review_prepared_data",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "storefront_id"
      ],
      "key_length": "7",
      "rows_examined_per_scan": 50,
      "rows_produced_per_join": 50,
      "filtered": "100.00",
      "index_condition": "((`cscartdb`.`cscart_product_review_prepared_data`.`storefront_id` = 0) and (`cscartdb`.`cscart_product_review_prepared_data`.`product_id` in (8408,8409,10177,8405,8406,9943,16031,8407,8649,36024,36025,26577,12085,26543,26539,31010,39503,12086,40547,40112,40580,12088,40714,33996,12087,26542,36036,33791,40836,40232,40208,40469,40616,26537,40738,36041,40374,40088,40787,40679,40516,40350,34008,40812,40762,40160,40326,40422,40136,40302)))",
      "cost_info": {
        "read_cost": "30.01",
        "eval_cost": "5.00",
        "prefix_cost": "35.01",
        "data_read_per_join": "800"
      },
      "used_columns": [
        "product_id",
        "storefront_id",
        "average_rating",
        "reviews_count"
      ]
    }
  }
}

Result

product_id average_rating reviews_count
8649 0
10177 0
26537 0
26539 0
26542 0
26543 0
26577 0
33791 0
33996 0
34008 0
36024 0
36025 0
36036 0
36041 0
39503 0
40088 0
40112 0
40136 0
40160 0
40208 0
40232 0
40302 0
40326 0
40350 0
40374 0
40422 0
40469 0
40516 0
40547 0
40580 0
40616 0
40679 0
40714 0
40738 0
40762 0
40787 0
40812 0
40836 0