SELECT 
  video_id 
FROM 
  cscart_cp_video_product_links 
WHERE 
  product_id IN (
    20987, 20985, 20986, 20978, 20979, 20980, 
    20981, 20982, 20983, 20984
  ) 
  AND type = 'T' 
ORDER BY 
  position

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "8.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "1.00"
      },
      "table": {
        "table_name": "cscart_cp_video_product_links",
        "access_type": "range",
        "possible_keys": [
          "PRIMARY"
        ],
        "key": "PRIMARY",
        "used_key_parts": [
          "product_id"
        ],
        "key_length": "4",
        "rows_examined_per_scan": 10,
        "rows_produced_per_join": 1,
        "filtered": "10.00",
        "index_condition": "((`cscart_db`.`cscart_cp_video_product_links`.`product_id` in (20987,20985,20986,20978,20979,20980,20981,20982,20983,20984)) and (`cscart_db`.`cscart_cp_video_product_links`.`type` = 'T'))",
        "cost_info": {
          "read_cost": "6.91",
          "eval_cost": "0.10",
          "prefix_cost": "7.01",
          "data_read_per_join": "24"
        },
        "used_columns": [
          "video_id",
          "product_id",
          "type",
          "position"
        ]
      }
    }
  }
}