SELECT 
  video_id 
FROM 
  cscart_cp_video_product_links 
WHERE 
  product_id IN (
    17249, 17250, 17248, 17246, 17247, 17245
  ) 
  AND type = 'T' 
ORDER BY 
  position

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "5.36"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "0.70"
      },
      "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": 7,
        "rows_produced_per_join": 0,
        "filtered": "10.00",
        "index_condition": "((`cscart_db`.`cscart_cp_video_product_links`.`product_id` in (17249,17250,17248,17246,17247,17245)) and (`cscart_db`.`cscart_cp_video_product_links`.`type` = 'T'))",
        "cost_info": {
          "read_cost": "4.59",
          "eval_cost": "0.07",
          "prefix_cost": "4.66",
          "data_read_per_join": "16"
        },
        "used_columns": [
          "video_id",
          "product_id",
          "type",
          "position"
        ]
      }
    }
  }
}

Result

video_id
287