SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    908, 
    134, 
    1142, 
    853, 
    1146, 
    1145, 
    1144, 
    1143, 
    856, 
    1540, 
    1541, 
    1542, 
    1543, 
    1544, 
    1545, 
    2258, 
    2257, 
    2256, 
    2255, 
    2260, 
    2259, 
    2251, 
    2262, 
    2261, 
    2252, 
    2265, 
    2264, 
    2263, 
    2253, 
    2267, 
    2266, 
    2254, 
    2559, 
    2560, 
    3663, 
    2562, 
    2729, 
    2730, 
    2731, 
    2732, 
    2746, 
    2747, 
    2749, 
    2750, 
    2751, 
    2752, 
    2753, 
    2754, 
    2755, 
    2756, 
    2757, 
    2768, 
    2767, 
    2775, 
    2786, 
    2787, 
    2788, 
    2789, 
    2790, 
    2791, 
    2792, 
    2793, 
    2794, 
    2795, 
    2796, 
    2800, 
    2801, 
    2822, 
    2823, 
    2824, 
    2825, 
    2826, 
    2860, 
    2869, 
    2870, 
    2871, 
    2877, 
    2878, 
    2879, 
    2880, 
    2881, 
    2927, 
    2928, 
    2929, 
    2935, 
    2936, 
    3011, 
    3012, 
    3013, 
    3014, 
    3015, 
    3021, 
    3022, 
    3023, 
    3024, 
    3026, 
    3030, 
    3029, 
    3060, 
    3061, 
    3090, 
    3091, 
    3092, 
    3093, 
    3094, 
    3099, 
    3100, 
    3140, 
    3141, 
    3160, 
    3161, 
    2760, 
    3164, 
    3165, 
    3366, 
    3367, 
    3404, 
    3405, 
    3548, 
    3549, 
    3373, 
    4124, 
    4125, 
    5129, 
    5126, 
    5135, 
    5133, 
    5151, 
    5153, 
    7871, 
    7872, 
    7873, 
    7875, 
    7876, 
    7874, 
    7877, 
    8703, 
    8704, 
    8705, 
    8706, 
    10454, 
    10455
  ) 
  AND status = "A" 
  AND storefront_id IN (1, 0)

Query time 0.00227

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 (908,134,1142,853,1146,1145,1144,1143,856,1540,1541,1542,1543,1544,1545,2258,2257,2256,2255,2260,2259,2251,2262,2261,2252,2265,2264,2263,2253,2267,2266,2254,2559,2560,3663,2562,2729,2730,2731,2732,2746,2747,2749,2750,2751,2752,2753,2754,2755,2756,2757,2768,2767,2775,2786,2787,2788,2789,2790,2791,2792,2793,2794,2795,2796,2800,2801,2822,2823,2824,2825,2826,2860,2869,2870,2871,2877,2878,2879,2880,2881,2927,2928,2929,2935,2936,3011,3012,3013,3014,3015,3021,3022,3023,3024,3026,3030,3029,3060,3061,3090,3091,3092,3093,3094,3099,3100,3140,3141,3160,3161,2760,3164,3165,3366,3367,3404,3405,3548,3549,3373,4124,4125,5129,5126,5135,5133,5151,5153,7871,7872,7873,7875,7876,7874,7877,8703,8704,8705,8706,10454,10455)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_ab__video_gallery`.`storefront_id` in (1,0)))"
    }
  }
}