SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    1, 
    228, 
    8, 
    9, 
    10, 
    8483, 
    71, 
    4, 
    2359, 
    1532, 
    8499, 
    8502, 
    8501, 
    2459, 
    1528, 
    2432, 
    2455, 
    1517, 
    2438, 
    8498, 
    7624, 
    8484, 
    8497, 
    2812, 
    7608, 
    8485, 
    1538, 
    8488, 
    8486, 
    8492, 
    8487, 
    7614, 
    8503, 
    8505, 
    7613, 
    8496, 
    8489, 
    7248, 
    7615, 
    2465, 
    7290, 
    8490, 
    7283, 
    8491, 
    8493, 
    7625, 
    7285, 
    7294, 
    7261, 
    7611, 
    7612, 
    2441, 
    7616, 
    7293, 
    7279, 
    7617, 
    7620, 
    7618, 
    7619, 
    7281, 
    7610, 
    7277, 
    7609, 
    7623, 
    7621, 
    7622, 
    2832, 
    8478, 
    8474, 
    8475, 
    6380, 
    10136, 
    10137, 
    8512, 
    3506, 
    8513, 
    8510, 
    4949, 
    10135, 
    5985, 
    8511, 
    2462, 
    2827, 
    5767, 
    6459, 
    8717, 
    5971, 
    2439, 
    10138, 
    6451, 
    8716, 
    8711, 
    2833, 
    8266, 
    8265, 
    8267, 
    8712, 
    6381, 
    5986, 
    8264, 
    8509, 
    8507, 
    8508, 
    6447, 
    6373, 
    6440, 
    8714, 
    8713, 
    8720, 
    8718, 
    8719, 
    8715, 
    6590, 
    6379, 
    8722, 
    6336, 
    8494, 
    8506, 
    6444, 
    8721, 
    5973, 
    5989, 
    5994, 
    6593, 
    6594, 
    9625, 
    6592, 
    10127, 
    10193, 
    6454, 
    10133, 
    10095, 
    10120, 
    10128, 
    10122, 
    10217, 
    10312, 
    10196, 
    10315, 
    10317, 
    10198, 
    10139, 
    10201, 
    10216, 
    10320, 
    10200, 
    10121, 
    10134, 
    10321, 
    10322, 
    10323, 
    10314, 
    10319, 
    9642, 
    10199, 
    10310, 
    10316, 
    8947, 
    10202, 
    10309
  ) 
  AND status = "A" 
  AND storefront_id IN (1, 0)

Query time 0.00102

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "0.35"
    },
    "table": {
      "table_name": "cscart_ab__video_gallery",
      "access_type": "ref",
      "possible_keys": [
        "status",
        "product_id"
      ],
      "key": "status",
      "used_key_parts": [
        "status"
      ],
      "key_length": "3",
      "ref": [
        "const"
      ],
      "rows_examined_per_scan": 1,
      "rows_produced_per_join": 1,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "0.25",
        "eval_cost": "0.10",
        "prefix_cost": "0.35",
        "data_read_per_join": "96"
      },
      "used_columns": [
        "video_id",
        "product_id",
        "status",
        "storefront_id"
      ],
      "attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_ab__video_gallery`.`product_id` in (1,228,8,9,10,8483,71,4,2359,1532,8499,8502,8501,2459,1528,2432,2455,1517,2438,8498,7624,8484,8497,2812,7608,8485,1538,8488,8486,8492,8487,7614,8503,8505,7613,8496,8489,7248,7615,2465,7290,8490,7283,8491,8493,7625,7285,7294,7261,7611,7612,2441,7616,7293,7279,7617,7620,7618,7619,7281,7610,7277,7609,7623,7621,7622,2832,8478,8474,8475,6380,10136,10137,8512,3506,8513,8510,4949,10135,5985,8511,2462,2827,5767,6459,8717,5971,2439,10138,6451,8716,8711,2833,8266,8265,8267,8712,6381,5986,8264,8509,8507,8508,6447,6373,6440,8714,8713,8720,8718,8719,8715,6590,6379,8722,6336,8494,8506,6444,8721,5973,5989,5994,6593,6594,9625,6592,10127,10193,6454,10133,10095,10120,10128,10122,10217,10312,10196,10315,10317,10198,10139,10201,10216,10320,10200,10121,10134,10321,10322,10323,10314,10319,9642,10199,10310,10316,8947,10202,10309)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_ab__video_gallery`.`storefront_id` in (1,0)))"
    }
  }
}