SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    2507, 2501, 2498, 2504, 2500, 2505, 2503, 
    2499, 2497, 2508, 2506, 2509
  )

Query time 0.00033

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_ab__video_gallery",
      "access_type": "range",
      "possible_keys": ["product_id"],
      "key": "product_id",
      "key_length": "3",
      "used_key_parts": ["product_id"],
      "rows": 12,
      "filtered": 100,
      "attached_condition": "cscart_ab__video_gallery.product_id in (2507,2501,2498,2504,2500,2505,2503,2499,2497,2508,2506,2509)",
      "using_index": true
    }
  }
}