SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    363, 2393, 2391, 2340, 2403, 2397, 2394, 
    2402, 2401, 2399, 2345, 2398
  )

Query time 0.00026

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 (363,2393,2391,2340,2403,2397,2394,2402,2401,2399,2345,2398)",
      "using_index": true
    }
  }
}