8.29 ms (41.22%)
1
SELECT t0 . id AS id_1 , t0 . company_id AS company_id_2 , t0 . name AS name_3 , t0 . editor_json AS editor_json_4 FROM "venue_layouts" t0 WHERE t0 . id = ? LIMIT 1
SELECT t0 . id AS id_1 , t0 . company_id AS company_id_2 , t0 . name AS name_3 , t0 . editor_json AS editor_json_4 FROM "venue_layouts" t0 WHERE t0 . id = 2 LIMIT 1 ;
Copy
2.21 ms (10.97%)
1
SELECT t0 . id AS id_1 , t0 . domain AS domain_2 , t0 . theme AS theme_3 , t0 . title AS title_4 , t0 . logo_path AS logo_path_5 , t0 . company_id AS company_id_6 FROM portal_configurations t0 WHERE t0 . domain = ? LIMIT 1
Parameters :
[
"vstupenky.lednacci.cz "
]
SELECT t0 . id AS id_1 , t0 . domain AS domain_2 , t0 . theme AS theme_3 , t0 . title AS title_4 , t0 . logo_path AS logo_path_5 , t0 . company_id AS company_id_6 FROM portal_configurations t0 WHERE t0 . domain = 'vstupenky.lednacci.cz' LIMIT 1 ;
Copy
1.92 ms (9.57%)
1
SELECT t0 . id AS id_1 , t0 . company_id AS company_id_2 , t0 . title AS title_3 , t0 . text_color AS text_color_4 , t0 . bg_color AS bg_color_5 FROM tags t0 INNER JOIN event_tags ON t0 . id = event_tags . tag_id WHERE event_tags . event_id = ?
SELECT t0 . id AS id_1 , t0 . company_id AS company_id_2 , t0 . title AS title_3 , t0 . text_color AS text_color_4 , t0 . bg_color AS bg_color_5 FROM tags t0 INNER JOIN event_tags ON t0 . id = event_tags . tag_id WHERE event_tags . event_id = 5 ;
Copy
1.70 ms (8.45%)
1
SELECT v0_ . id AS id_0 , v0_ . business_id AS business_id_1 , v0_ . status AS status_2 , v0_ . event_id AS event_id_3 , v0_ . reserved_until AS reserved_until_4 , v0_ . order_id AS order_id_5 , v0_ . reservation_token AS reservation_token_6 , v0_ . created_at AS created_at_7 , v0_ . ticket_id AS ticket_id_8 FROM venue_element_reservations v0_ WHERE v0_ . event_id = ? AND v0_ . reserved_until > ?
SELECT v0_ . id AS id_0 , v0_ . business_id AS business_id_1 , v0_ . status AS status_2 , v0_ . event_id AS event_id_3 , v0_ . reserved_until AS reserved_until_4 , v0_ . order_id AS order_id_5 , v0_ . reservation_token AS reservation_token_6 , v0_ . created_at AS created_at_7 , v0_ . ticket_id AS ticket_id_8 FROM venue_element_reservations v0_ WHERE v0_ . event_id = '5' AND v0_ . reserved_until > '2026-03-31 18:34:39' ;
Copy
1.44 ms (7.14%)
1
SELECT t0 . id AS id_1 , t0 . company_id AS company_id_2 , t0 . name AS name_3 , t0 . starts_at AS starts_at_4 , t0 . is_enabled_for_sale AS is_enabled_for_sale_5 , t0 . event_group_id AS event_group_id_6 , t0 . venue_layout_id AS venue_layout_id_7 , t0 . home_team_id AS home_team_id_8 , t0 . away_team_id AS away_team_id_9 FROM "events" t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . company_id AS company_id_2 , t0 . name AS name_3 , t0 . starts_at AS starts_at_4 , t0 . is_enabled_for_sale AS is_enabled_for_sale_5 , t0 . event_group_id AS event_group_id_6 , t0 . venue_layout_id AS venue_layout_id_7 , t0 . home_team_id AS home_team_id_8 , t0 . away_team_id AS away_team_id_9 FROM "events" t0 WHERE t0 . id = 5 ;
Copy
1.24 ms (6.15%)
1
SELECT t0 . id AS id_1 , t0 . lft AS lft_2 , t0 . lvl AS lvl_3 , t0 . rgt AS rgt_4 , t0 . label AS label_5 , t0 . type AS type_6 , t0 . capacity AS capacity_7 , t0 . business_id AS business_id_8 , t0 . venue_layout_id AS venue_layout_id_9 , t0 . tree_root AS tree_root_10 , t0 . parent_id AS parent_id_11 FROM "venue_elements" t0 WHERE t0 . venue_layout_id = ?
SELECT t0 . id AS id_1 , t0 . lft AS lft_2 , t0 . lvl AS lvl_3 , t0 . rgt AS rgt_4 , t0 . label AS label_5 , t0 . type AS type_6 , t0 . capacity AS capacity_7 , t0 . business_id AS business_id_8 , t0 . venue_layout_id AS venue_layout_id_9 , t0 . tree_root AS tree_root_10 , t0 . parent_id AS parent_id_11 FROM "venue_elements" t0 WHERE t0 . venue_layout_id = 2 ;
Copy
1.12 ms (5.59%)
1
SELECT DISTINCT spsr . business_id
FROM season_pass_seat_reservations spsr
INNER JOIN season_pass_tags spt ON spt . season_pass_id = spsr . season_pass_id
WHERE spt . tag_id IN (? )
AND (spsr . status = 2 OR (spsr . status < 2 AND spsr . reserved_until > ? ))
Parameters :
[
3
"2026-03-31 18:34:39+00:00 "
]
SELECT DISTINCT spsr . business_id
FROM season_pass_seat_reservations spsr
INNER JOIN season_pass_tags spt ON spt . season_pass_id = spsr . season_pass_id
WHERE spt . tag_id IN (3 )
AND (spsr . status = 2 OR (spsr . status < 2 AND spsr . reserved_until > '2026-03-31 18:34:39+00:00' ));
Copy
0.89 ms (4.41%)
1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . json AS json_3 , t0 . venue_layout_id AS venue_layout_id_4 FROM "venue_layout_variants" t0 INNER JOIN event_venue_layout_variants ON t0 . id = event_venue_layout_variants . venue_layout_variant_id WHERE event_venue_layout_variants . event_id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . json AS json_3 , t0 . venue_layout_id AS venue_layout_id_4 FROM "venue_layout_variants" t0 INNER JOIN event_venue_layout_variants ON t0 . id = event_venue_layout_variants . venue_layout_variant_id WHERE event_venue_layout_variants . event_id = 5 ;
Copy
0.82 ms (4.10%)
1
SELECT t0 . id AS id_1 , t0 . company_id AS company_id_2 , t0 . title AS title_3 , t0 . type AS type_4 , t0 . lft AS lft_5 , t0 . lvl AS lvl_6 , t0 . rgt AS rgt_7 , t0 . tree_root AS tree_root_8 , t0 . parent_id AS parent_id_9 FROM event_groups t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . company_id AS company_id_2 , t0 . title AS title_3 , t0 . type AS type_4 , t0 . lft AS lft_5 , t0 . lvl AS lvl_6 , t0 . rgt AS rgt_7 , t0 . tree_root AS tree_root_8 , t0 . parent_id AS parent_id_9 FROM event_groups t0 WHERE t0 . id = 3 ;
Copy
0.48 ms (2.40%)
1
SELECT t0 . id AS id_1 , t0 . company_id AS company_id_2 , t0 . name AS name_3 , t0 . is_home AS is_home_4 , t0 . image_path AS image_path_5 FROM "teams" t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . company_id AS company_id_2 , t0 . name AS name_3 , t0 . is_home AS is_home_4 , t0 . image_path AS image_path_5 FROM "teams" t0 WHERE t0 . id = 6 ;
Copy