SELECT 
  video_id 
FROM 
  cscart_cp_video_product_links 
WHERE 
  product_id IN (
    25405, 25406, 25407, 25408, 25409, 25410, 
    25411, 25412, 25413, 25415, 25416, 
    25417, 25418, 25419, 25420, 25421, 
    25422, 25423, 25424, 25425, 25426
  ) 
  AND type = 'I' 
ORDER BY 
  position

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "2.10"
      },
      "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": 21,
        "rows_produced_per_join": 2,
        "filtered": "10.00",
        "index_condition": "((`cscart_db`.`cscart_cp_video_product_links`.`product_id` in (25405,25406,25407,25408,25409,25410,25411,25412,25413,25415,25416,25417,25418,25419,25420,25421,25422,25423,25424,25425,25426)) and (`cscart_db`.`cscart_cp_video_product_links`.`type` = 'I'))",
        "cost_info": {
          "read_cost": "14.50",
          "eval_cost": "0.21",
          "prefix_cost": "14.71",
          "data_read_per_join": "50"
        },
        "used_columns": [
          "video_id",
          "product_id",
          "type",
          "position"
        ]
      }
    }
  }
}