SELECT 
  video_id, 
  product_id 
FROM 
  jmj_ab__video_gallery 
WHERE 
  product_id IN (
    938, 939, 942, 943, 944, 945, 946, 947, 
    948, 949, 951, 952, 953, 954, 956, 958, 
    960, 962, 963, 965, 967, 968, 969, 970, 
    972, 973, 974, 975, 976, 977, 978, 979, 
    980, 981, 984, 985, 986, 987, 988, 989, 
    990, 991, 992, 993, 994, 995, 996, 997
  ) 
  AND status = 'A' 
  AND storefront_id IN (1, 0)

Query time 0.00073

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.20"
    },
    "table": {
      "table_name": "jmj_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": "1.00",
        "eval_cost": "0.20",
        "prefix_cost": "1.20",
        "data_read_per_join": "96"
      },
      "used_columns": [
        "video_id",
        "product_id",
        "status",
        "storefront_id"
      ],
      "attached_condition": "((`jmj_test`.`jmj_ab__video_gallery`.`product_id` in (938,939,942,943,944,945,946,947,948,949,951,952,953,954,956,958,960,962,963,965,967,968,969,970,972,973,974,975,976,977,978,979,980,981,984,985,986,987,988,989,990,991,992,993,994,995,996,997)) and (`jmj_test`.`jmj_ab__video_gallery`.`storefront_id` in (1,0)))"
    }
  }
}