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 (
    12, 325, 148, 5, 23, 1, 149, 79, 238, 239, 
    172, 167, 292, 300, 303, 304, 305, 306, 
    307, 308, 309, 310, 311, 312, 313, 314, 
    315, 316, 291, 293, 298, 334, 335, 302, 
    317, 319, 320, 321, 322, 323, 337, 8, 
    150, 13
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00054

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "12.56"
    },
    "table": {
      "table_name": "cscart_product_review_prepared_data",
      "access_type": "ALL",
      "possible_keys": [
        "PRIMARY"
      ],
      "rows_examined_per_scan": 52,
      "rows_produced_per_join": 44,
      "filtered": "84.62",
      "cost_info": {
        "read_cost": "3.77",
        "eval_cost": "8.80",
        "prefix_cost": "12.57",
        "data_read_per_join": "704"
      },
      "used_columns": [
        "product_id",
        "storefront_id",
        "average_rating",
        "reviews_count"
      ],
      "attached_condition": "((`atulecarter_atul_demo1`.`cscart_product_review_prepared_data`.`storefront_id` = 0) and (`atulecarter_atul_demo1`.`cscart_product_review_prepared_data`.`product_id` in (12,325,148,5,23,1,149,79,238,239,172,167,292,300,303,304,305,306,307,308,309,310,311,312,313,314,315,316,291,293,298,334,335,302,317,319,320,321,322,323,337,8,150,13)))"
    }
  }
}

Result

product_id average_rating reviews_count
5 3.67 3
1 4.00 3
23 3.00 1
8 4.00 1
172 4.00 1
238 4.00 1
167 5.00 1
239 3.00 1
150 4.00 3
148 4.33 3
149 4.67 3