SELECT 
  video_id 
FROM 
  cscart_cp_video_product_links 
WHERE 
  product_id IN (
    12405, 12399, 12400, 12401, 12402, 12403, 
    12404, 12406, 12407
  ) 
  AND type = 'T' 
ORDER BY 
  position

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "7.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "0.90"
      },
      "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": 9,
        "rows_produced_per_join": 0,
        "filtered": "10.00",
        "index_condition": "((`cscart_db`.`cscart_cp_video_product_links`.`product_id` in (12405,12399,12400,12401,12402,12403,12404,12406,12407)) and (`cscart_db`.`cscart_cp_video_product_links`.`type` = 'T'))",
        "cost_info": {
          "read_cost": "6.22",
          "eval_cost": "0.09",
          "prefix_cost": "6.31",
          "data_read_per_join": "21"
        },
        "used_columns": [
          "video_id",
          "product_id",
          "type",
          "position"
        ]
      }
    }
  }
}