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 (2334, 2335, 2301, 2298, 2297, 2299) 
GROUP BY 
  video_id

Query time 0.00046

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.45"
    },
    "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": 18,
        "rows_produced_per_join": 18,
        "filtered": "100.00",
        "using_index": true,
        "cost_info": {
          "read_cost": "2.65",
          "eval_cost": "1.80",
          "prefix_cost": "4.45",
          "data_read_per_join": "432"
        },
        "used_columns": [
          "video_id",
          "product_id",
          "type"
        ],
        "attached_condition": "(`cscart_db`.`cscart_cp_video_product_links`.`video_id` in (2334,2335,2301,2298,2297,2299))"
      }
    }
  }
}

Result

video_id products
2297 36366
2298 3562, 13927, 18087
2299 65543, 65544, 65545, 65546, 65547, 65548, 65550
2301 3963, 28569, 37518
2334 3963
2335 3963, 33696, 39923