SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    1128, 1127, 1126, 1125, 1124, 1123, 1139, 
    1138, 1137, 1136, 1135, 1134, 1133, 
    1132, 1131, 1130, 1129, 827, 1141, 851, 
    1254, 1253, 247, 1284, 1475, 1476, 1477, 
    2109, 2108, 2107, 2112, 2111, 2110, 
    2114, 2113, 2247, 2248, 3066, 3067, 
    3069, 3070, 3071, 3072, 3073, 3075, 
    3076, 3602, 3078, 3079, 3080, 3081, 
    3082, 3083, 3084, 3085, 4812, 4810, 
    4809, 4808, 7741, 7740, 9646, 9647, 
    9648, 9649, 9653, 9654, 9655, 9656, 
    9657, 9658, 9659, 9660, 9869, 9868, 
    9870, 9871, 10276, 10277, 10278, 10348, 
    10347
  ) 
  AND status = "A" 
  AND storefront_id IN (1, 0)

Query time 0.00091

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 (1128,1127,1126,1125,1124,1123,1139,1138,1137,1136,1135,1134,1133,1132,1131,1130,1129,827,1141,851,1254,1253,247,1284,1475,1476,1477,2109,2108,2107,2112,2111,2110,2114,2113,2247,2248,3066,3067,3069,3070,3071,3072,3073,3075,3076,3602,3078,3079,3080,3081,3082,3083,3084,3085,4812,4810,4809,4808,7741,7740,9646,9647,9648,9649,9653,9654,9655,9656,9657,9658,9659,9660,9869,9868,9870,9871,10276,10277,10278,10348,10347)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_ab__video_gallery`.`storefront_id` in (1,0)))"
    }
  }
}