SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    18508, 18509, 18510, 18511, 18513, 18514, 
    18515, 18516, 18517, 18518, 18519, 
    18520, 18521, 18522, 18523, 18524, 
    18525, 18526, 18527, 18528, 18529, 
    18530, 18531, 18532, 18533, 18534
  ) 
  AND status = "A" 
  AND storefront_id IN (1, 0)

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.00345856,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_ab__video_gallery",
          "access_type": "ref",
          "possible_keys": ["status", "product_id"],
          "key": "status",
          "key_length": "3",
          "used_key_parts": ["status"],
          "ref": ["const"],
          "loops": 1,
          "rows": 1,
          "cost": 0.00345856,
          "filtered": 100,
          "index_condition": "cscart_ab__video_gallery.`status` = 'A'",
          "attached_condition": "cscart_ab__video_gallery.product_id in (18508,18509,18510,18511,18513,18514,18515,18516,18517,18518,18519,18520,18521,18522,18523,18524,18525,18526,18527,18528,18529,18530,18531,18532,18533,18534) and cscart_ab__video_gallery.storefront_id in (1,0)"
        }
      }
    ]
  }
}