SELECT 
  video_id, 
  product_id 
FROM 
  tmall_ab__video_gallery 
WHERE 
  product_id IN (
    12, 17, 148, 180, 187, 232, 230, 231, 18, 
    16, 4, 5, 23, 24, 170, 1, 22, 149, 227, 
    78
  ) 
  AND status = 'A' 
  AND storefront_id IN (1, 0)

Query time 0.00955

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.00345856,
    "nested_loop": [
      {
        "table": {
          "table_name": "tmall_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": "tmall_ab__video_gallery.`status` = 'A'",
          "attached_condition": "tmall_ab__video_gallery.product_id in (12,17,148,180,187,232,230,231,18,16,4,5,23,24,170,1,22,149,227,78) and tmall_ab__video_gallery.storefront_id in (1,0)"
        }
      }
    ]
  }
}