SELECT 
  video_id, 
  GROUP_CONCAT(
    DISTINCT product_id 
    ORDER BY 
      product_id ASC SEPARATOR ', '
  ) as products 
FROM 
  cscart_cp_video_product_links 
WHERE 
  video_id IN (
    2440, 2422, 2449, 2445, 2417, 2418, 2413, 
    2415, 2414, 2416
  ) 
GROUP BY 
  video_id

Query time 0.00056

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "3.86"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "cscart_cp_video_product_links",
        "access_type": "range",
        "possible_keys": [
          "PRIMARY",
          "position",
          "video_id_idx",
          "idx_product_type_position"
        ],
        "key": "video_id_idx",
        "used_key_parts": [
          "video_id"
        ],
        "key_length": "3",
        "rows_examined_per_scan": 17,
        "rows_produced_per_join": 17,
        "filtered": "100.00",
        "using_index": true,
        "cost_info": {
          "read_cost": "2.16",
          "eval_cost": "1.70",
          "prefix_cost": "3.86",
          "data_read_per_join": "408"
        },
        "used_columns": [
          "video_id",
          "product_id",
          "type"
        ],
        "attached_condition": "(`cscart_db`.`cscart_cp_video_product_links`.`video_id` in (2440,2422,2449,2445,2417,2418,2413,2415,2414,2416))"
      }
    }
  }
}

Result

video_id products
2413 69814
2414 69844
2415 69975
2416 69381, 70092, 70093, 70259, 70260
2418 35990, 70266, 70270, 70271
2422 69311
2440 39003
2445 28559
2449 28567