SELECT 
  video_id, 
  product_id 
FROM 
  cscart_ab__video_gallery 
WHERE 
  product_id IN (
    1540, 2082, 2404, 1516, 2405, 1545, 352, 
    2092, 2400, 366, 1517, 356
  )

Query time 0.00021

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 (1540,2082,2404,1516,2405,1545,352,2092,2400,366,1517,356)",
      "using_index": true
    }
  }
}