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 (
    2252, 2256, 2259, 2258, 2262, 2271, 2261, 
    2272, 2273, 2277
  ) 
GROUP BY 
  video_id

Query time 0.00035

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "3.24"
    },
    "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": 12,
        "rows_produced_per_join": 12,
        "filtered": "100.00",
        "using_index": true,
        "cost_info": {
          "read_cost": "2.04",
          "eval_cost": "1.20",
          "prefix_cost": "3.24",
          "data_read_per_join": "288"
        },
        "used_columns": [
          "video_id",
          "product_id",
          "type"
        ],
        "attached_condition": "(`cscart_db`.`cscart_cp_video_product_links`.`video_id` in (2252,2256,2259,2258,2262,2271,2261,2272,2273,2277))"
      }
    }
  }
}

Result

video_id products
2252 3963, 31336, 33717
2256 68506
2261 33089
2271 39924
2272 31377
2273 31336
2277 66500