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 (2025, 2029, 2282, 2299) 
GROUP BY 
  video_id

Query time 0.00038

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "6.07"
    },
    "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": 29,
        "rows_produced_per_join": 29,
        "filtered": "100.00",
        "using_index": true,
        "cost_info": {
          "read_cost": "3.17",
          "eval_cost": "2.90",
          "prefix_cost": "6.07",
          "data_read_per_join": "696"
        },
        "used_columns": [
          "video_id",
          "product_id",
          "type"
        ],
        "attached_condition": "(`cscart_db`.`cscart_cp_video_product_links`.`video_id` in (2025,2029,2282,2299))"
      }
    }
  }
}

Result

video_id products
2025 65547
2029 65547
2282 58598, 65538, 65539, 65540, 65541, 65542, 65543, 65544, 65545, 65546, 65547, 65548, 65549, 65550, 65551, 65552, 65553, 65554, 65555, 66698
2299 65543, 65544, 65545, 65546, 65547, 65548, 65550