SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    9978, 9979, 10179, 10180, 10523, 10073, 
    10077, 10076, 10086, 10085, 10084, 
    10083, 10082, 10081, 10080, 10079, 
    10584, 10594, 9814, 9815
  ) 
  AND status = "A" 
  AND storefront_id IN (1, 0)

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_ab__video_gallery",
      "access_type": "ALL",
      "possible_keys": ["status", "product_id"],
      "rows": 77,
      "filtered": 25.97402573,
      "attached_condition": "cscart_ab__video_gallery.product_id in (9978,9979,10179,10180,10523,10073,10077,10076,10086,10085,10084,10083,10082,10081,10080,10079,10584,10594,9814,9815) and cscart_ab__video_gallery.`status` = 'A' and cscart_ab__video_gallery.storefront_id in (1,0)"
    }
  }
}

Result

video_id product_id
74 10179
75 10180
76 10523
77 10076
78 10073
79 10077
80 10085
81 10082
82 10086
83 10083
84 10084
85 10584
86 10081
87 10594
88 10079
89 10080