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 (
    3925, 
    2807, 
    3415, 
    2612, 
    3077, 
    3409, 
    3411, 
    3413, 
    3550, 
    3878, 
    3515, 
    3875, 
    2926, 
    3748, 
    3128, 
    2543, 
    3288, 
    3035, 
    3220, 
    3410, 
    3599, 
    5107, 
    6112, 
    3043, 
    3880, 
    2429, 
    3805, 
    2921, 
    3095, 
    3524, 
    3742, 
    3668, 
    3044, 
    3168, 
    3527, 
    3535, 
    3360, 
    3702, 
    3536, 
    3101, 
    3167, 
    3750, 
    3830, 
    3592, 
    3670, 
    3684, 
    3600, 
    3874, 
    3365, 
    3437, 
    3682, 
    3879, 
    3753, 
    2952, 
    3230, 
    3108, 
    3303, 
    3376, 
    3412, 
    3436, 
    3554, 
    5104, 
    3103, 
    3530, 
    3945, 
    3438, 
    3545, 
    3555, 
    5895, 
    5868, 
    3687, 
    3860, 
    3858, 
    3853, 
    3857, 
    3863, 
    3862, 
    3854, 
    3727, 
    3699, 
    3855, 
    3859, 
    5105, 
    8812, 
    6163, 
    6853, 
    6161, 
    7807, 
    6062, 
    6854, 
    6060, 
    6061, 
    7823, 
    7838, 
    7827, 
    6821, 
    7829, 
    7811, 
    7866, 
    10103, 
    6852, 
    7841, 
    6850, 
    6855, 
    7856, 
    7861, 
    10160, 
    7863, 
    7840, 
    7812, 
    7855, 
    7860, 
    7868, 
    7869, 
    7870, 
    10242, 
    7813, 
    7825, 
    8242, 
    8373, 
    8517, 
    8700, 
    10246, 
    7837, 
    7864, 
    8285, 
    8287, 
    8330, 
    8374, 
    8571, 
    8726, 
    8728, 
    8803, 
    10085, 
    10099, 
    10106, 
    10256, 
    7859, 
    8268, 
    8331, 
    8378, 
    8436, 
    8442, 
    8579, 
    8583, 
    8606, 
    8727, 
    10107, 
    10166, 
    7858, 
    7862, 
    8270, 
    8286, 
    8376, 
    8384, 
    8402, 
    8467, 
    8468, 
    8531, 
    8533
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00066

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.00"
    },
    "table": {
      "table_name": "cscart_product_review_prepared_data",
      "access_type": "ALL",
      "possible_keys": [
        "PRIMARY"
      ],
      "rows_examined_per_scan": 5,
      "rows_produced_per_join": 5,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "0.50",
        "eval_cost": "0.50",
        "prefix_cost": "1.00",
        "data_read_per_join": "80"
      },
      "used_columns": [
        "product_id",
        "storefront_id",
        "average_rating",
        "reviews_count"
      ],
      "attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_review_prepared_data`.`storefront_id` = 0) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_review_prepared_data`.`product_id` in (3925,2807,3415,2612,3077,3409,3411,3413,3550,3878,3515,3875,2926,3748,3128,2543,3288,3035,3220,3410,3599,5107,6112,3043,3880,2429,3805,2921,3095,3524,3742,3668,3044,3168,3527,3535,3360,3702,3536,3101,3167,3750,3830,3592,3670,3684,3600,3874,3365,3437,3682,3879,3753,2952,3230,3108,3303,3376,3412,3436,3554,5104,3103,3530,3945,3438,3545,3555,5895,5868,3687,3860,3858,3853,3857,3863,3862,3854,3727,3699,3855,3859,5105,8812,6163,6853,6161,7807,6062,6854,6060,6061,7823,7838,7827,6821,7829,7811,7866,10103,6852,7841,6850,6855,7856,7861,10160,7863,7840,7812,7855,7860,7868,7869,7870,10242,7813,7825,8242,8373,8517,8700,10246,7837,7864,8285,8287,8330,8374,8571,8726,8728,8803,10085,10099,10106,10256,7859,8268,8331,8378,8436,8442,8579,8583,8606,8727,10107,10166,7858,7862,8270,8286,8376,8384,8402,8467,8468,8531,8533)))"
    }
  }
}