45.33 ms (85.37%)
|
1 |
SELECT COUNT(*) AS dctrn_count FROM (SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.subtitle AS subtitle_2, t0_.description AS description_3, t0_.length AS length_4, t0_.`interval` AS interval_5, t0_.customNamePlace AS customNamePlace_6, t0_.customUrlMapPlace AS customUrlMapPlace_7, t0_.discount AS discount_8, t0_.discountText AS discountText_9, t0_.image AS image_10, t0_.banner AS banner_11, t0_.numbered AS numbered_12, t0_.free AS free_13, t0_.sale_by_box_office AS sale_by_box_office_14, t0_.public_on_box_office AS public_on_box_office_15, t0_.sale_by_web AS sale_by_web_16, t0_.public_on_web AS public_on_web_17, t0_.status AS status_18, t0_.active AS active_19, t0_.`external` AS external_20, t0_.external_place AS external_place_21, t0_.external_address AS external_address_22, t0_.external_url AS external_url_23, t0_.external_price AS external_price_24, t0_.slug AS slug_25, t0_.publish_at AS publish_at_26, t0_.start_selling_at AS start_selling_at_27, t0_.created_at AS created_at_28, t0_.update_at AS update_at_29, t0_.not_show AS not_show_30, t1_.id AS id_31, t1_.name AS name_32, t1_.active AS active_33, t1_.slug AS slug_34, t1_.system AS system_35, t2_.id AS id_36, t2_.name AS name_37, t2_.slug AS slug_38, t2_.system AS system_39, t3_.id AS id_40, t3_.start_at AS start_at_41, t3_.status AS status_42, t3_.active AS active_43, t3_.sale_open AS sale_open_44, t3_.total_reservations_sold AS total_reservations_sold_45, t3_.total_reservations AS total_reservations_46, t4_.id AS id_47, t4_.price AS price_48 FROM tkt_event t0_ LEFT JOIN tkt_event_campaign t1_ ON t0_.campaign_id = t1_.id LEFT JOIN tkt_event_type t2_ ON t0_.type_id = t2_.id LEFT JOIN tkt_place t5_ ON t0_.place_id = t5_.id LEFT JOIN tkt_event_presentation t3_ ON t0_.id = t3_.event_id LEFT JOIN tkt_event_price t4_ ON t0_.id = t4_.event_id WHERE t0_.active = 1 AND t3_.active = 1 AND ((t0_.publish_at IS NOT NULL AND t0_.publish_at <= ?) OR t0_.publish_at IS NULL) AND (t3_.start_at >= ? OR t0_.status <> ?) AND t0_.public_on_web = 1 GROUP BY t0_.id ORDER BY t3_.start_at ASC, t4_.price DESC) dctrn_table
Parameters: [
"2026-01-02 00:54:20"
"2026-01-02 01:24:20"
"valid"
]
SELECT
COUNT(*) AS dctrn_count
FROM
(
SELECT
t0_.id AS id_0,
t0_.name AS name_1,
t0_.subtitle AS subtitle_2,
t0_.description AS description_3,
t0_.length AS length_4,
t0_.`interval` AS interval_5,
t0_.customNamePlace AS customNamePlace_6,
t0_.customUrlMapPlace AS customUrlMapPlace_7,
t0_.discount AS discount_8,
t0_.discountText AS discountText_9,
t0_.image AS image_10,
t0_.banner AS banner_11,
t0_.numbered AS numbered_12,
t0_.free AS free_13,
t0_.sale_by_box_office AS sale_by_box_office_14,
t0_.public_on_box_office AS public_on_box_office_15,
t0_.sale_by_web AS sale_by_web_16,
t0_.public_on_web AS public_on_web_17,
t0_.status AS status_18,
t0_.active AS active_19,
t0_.`external` AS external_20,
t0_.external_place AS external_place_21,
t0_.external_address AS external_address_22,
t0_.external_url AS external_url_23,
t0_.external_price AS external_price_24,
t0_.slug AS slug_25,
t0_.publish_at AS publish_at_26,
t0_.start_selling_at AS start_selling_at_27,
t0_.created_at AS created_at_28,
t0_.update_at AS update_at_29,
t0_.not_show AS not_show_30,
t1_.id AS id_31,
t1_.name AS name_32,
t1_.active AS active_33,
t1_.slug AS slug_34,
t1_.system AS system_35,
t2_.id AS id_36,
t2_.name AS name_37,
t2_.slug AS slug_38,
t2_.system AS system_39,
t3_.id AS id_40,
t3_.start_at AS start_at_41,
t3_.status AS status_42,
t3_.active AS active_43,
t3_.sale_open AS sale_open_44,
t3_.total_reservations_sold AS total_reservations_sold_45,
t3_.total_reservations AS total_reservations_46,
t4_.id AS id_47,
t4_.price AS price_48
FROM
tkt_event t0_
LEFT JOIN tkt_event_campaign t1_ ON t0_.campaign_id = t1_.id
LEFT JOIN tkt_event_type t2_ ON t0_.type_id = t2_.id
LEFT JOIN tkt_place t5_ ON t0_.place_id = t5_.id
LEFT JOIN tkt_event_presentation t3_ ON t0_.id = t3_.event_id
LEFT JOIN tkt_event_price t4_ ON t0_.id = t4_.event_id
WHERE
t0_.active = 1
AND t3_.active = 1
AND (
(
t0_.publish_at IS NOT NULL
AND t0_.publish_at <= ?
)
OR t0_.publish_at IS NULL
)
AND (
t3_.start_at >= ?
OR t0_.status <> ?
)
AND t0_.public_on_web = 1
GROUP BY
t0_.id
ORDER BY
t3_.start_at ASC,
t4_.price DESC
) dctrn_table
SELECT COUNT(*) AS dctrn_count FROM (SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.subtitle AS subtitle_2, t0_.description AS description_3, t0_.length AS length_4, t0_.`interval` AS interval_5, t0_.customNamePlace AS customNamePlace_6, t0_.customUrlMapPlace AS customUrlMapPlace_7, t0_.discount AS discount_8, t0_.discountText AS discountText_9, t0_.image AS image_10, t0_.banner AS banner_11, t0_.numbered AS numbered_12, t0_.free AS free_13, t0_.sale_by_box_office AS sale_by_box_office_14, t0_.public_on_box_office AS public_on_box_office_15, t0_.sale_by_web AS sale_by_web_16, t0_.public_on_web AS public_on_web_17, t0_.status AS status_18, t0_.active AS active_19, t0_.`external` AS external_20, t0_.external_place AS external_place_21, t0_.external_address AS external_address_22, t0_.external_url AS external_url_23, t0_.external_price AS external_price_24, t0_.slug AS slug_25, t0_.publish_at AS publish_at_26, t0_.start_selling_at AS start_selling_at_27, t0_.created_at AS created_at_28, t0_.update_at AS update_at_29, t0_.not_show AS not_show_30, t1_.id AS id_31, t1_.name AS name_32, t1_.active AS active_33, t1_.slug AS slug_34, t1_.system AS system_35, t2_.id AS id_36, t2_.name AS name_37, t2_.slug AS slug_38, t2_.system AS system_39, t3_.id AS id_40, t3_.start_at AS start_at_41, t3_.status AS status_42, t3_.active AS active_43, t3_.sale_open AS sale_open_44, t3_.total_reservations_sold AS total_reservations_sold_45, t3_.total_reservations AS total_reservations_46, t4_.id AS id_47, t4_.price AS price_48 FROM tkt_event t0_ LEFT JOIN tkt_event_campaign t1_ ON t0_.campaign_id = t1_.id LEFT JOIN tkt_event_type t2_ ON t0_.type_id = t2_.id LEFT JOIN tkt_place t5_ ON t0_.place_id = t5_.id LEFT JOIN tkt_event_presentation t3_ ON t0_.id = t3_.event_id LEFT JOIN tkt_event_price t4_ ON t0_.id = t4_.event_id WHERE t0_.active = 1 AND t3_.active = 1 AND ((t0_.publish_at IS NOT NULL AND t0_.publish_at <= '2026-01-02 00:54:20') OR t0_.publish_at IS NULL) AND (t3_.start_at >= '2026-01-02 01:24:20' OR t0_.status <> 'valid') AND t0_.public_on_web = 1 GROUP BY t0_.id ORDER BY t3_.start_at ASC, t4_.price DESC) dctrn_table;
|
5.68 ms (10.69%)
|
1 |
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, start_at_41 FROM (SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.subtitle AS subtitle_2, t0_.description AS description_3, t0_.length AS length_4, t0_.`interval` AS interval_5, t0_.customNamePlace AS customNamePlace_6, t0_.customUrlMapPlace AS customUrlMapPlace_7, t0_.discount AS discount_8, t0_.discountText AS discountText_9, t0_.image AS image_10, t0_.banner AS banner_11, t0_.numbered AS numbered_12, t0_.free AS free_13, t0_.sale_by_box_office AS sale_by_box_office_14, t0_.public_on_box_office AS public_on_box_office_15, t0_.sale_by_web AS sale_by_web_16, t0_.public_on_web AS public_on_web_17, t0_.status AS status_18, t0_.active AS active_19, t0_.`external` AS external_20, t0_.external_place AS external_place_21, t0_.external_address AS external_address_22, t0_.external_url AS external_url_23, t0_.external_price AS external_price_24, t0_.slug AS slug_25, t0_.publish_at AS publish_at_26, t0_.start_selling_at AS start_selling_at_27, t0_.created_at AS created_at_28, t0_.update_at AS update_at_29, t0_.not_show AS not_show_30, t1_.id AS id_31, t1_.name AS name_32, t1_.active AS active_33, t1_.slug AS slug_34, t1_.system AS system_35, t2_.id AS id_36, t2_.name AS name_37, t2_.slug AS slug_38, t2_.system AS system_39, t3_.id AS id_40, t3_.start_at AS start_at_41, t3_.status AS status_42, t3_.active AS active_43, t3_.sale_open AS sale_open_44, t3_.total_reservations_sold AS total_reservations_sold_45, t3_.total_reservations AS total_reservations_46, t4_.id AS id_47, t4_.price AS price_48 FROM tkt_event t0_ LEFT JOIN tkt_event_campaign t1_ ON t0_.campaign_id = t1_.id LEFT JOIN tkt_event_type t2_ ON t0_.type_id = t2_.id LEFT JOIN tkt_place t5_ ON t0_.place_id = t5_.id LEFT JOIN tkt_event_presentation t3_ ON t0_.id = t3_.event_id LEFT JOIN tkt_event_price t4_ ON t0_.id = t4_.event_id WHERE t0_.active = 1 AND t3_.active = 1 AND ((t0_.publish_at IS NOT NULL AND t0_.publish_at <= ?) OR t0_.publish_at IS NULL) AND (t3_.start_at >= ? OR t0_.status <> ?) AND t0_.public_on_web = 1 GROUP BY t0_.id ORDER BY t3_.start_at DESC, t4_.price DESC) dctrn_result_inner ORDER BY start_at_41 ASC) dctrn_result LIMIT 12
Parameters: [
"2026-01-02 00:54:20"
"2026-01-02 01:24:20"
"valid"
]
SELECT
DISTINCT id_0
FROM
(
SELECT
DISTINCT id_0,
start_at_41
FROM
(
SELECT
t0_.id AS id_0,
t0_.name AS name_1,
t0_.subtitle AS subtitle_2,
t0_.description AS description_3,
t0_.length AS length_4,
t0_.`interval` AS interval_5,
t0_.customNamePlace AS customNamePlace_6,
t0_.customUrlMapPlace AS customUrlMapPlace_7,
t0_.discount AS discount_8,
t0_.discountText AS discountText_9,
t0_.image AS image_10,
t0_.banner AS banner_11,
t0_.numbered AS numbered_12,
t0_.free AS free_13,
t0_.sale_by_box_office AS sale_by_box_office_14,
t0_.public_on_box_office AS public_on_box_office_15,
t0_.sale_by_web AS sale_by_web_16,
t0_.public_on_web AS public_on_web_17,
t0_.status AS status_18,
t0_.active AS active_19,
t0_.`external` AS external_20,
t0_.external_place AS external_place_21,
t0_.external_address AS external_address_22,
t0_.external_url AS external_url_23,
t0_.external_price AS external_price_24,
t0_.slug AS slug_25,
t0_.publish_at AS publish_at_26,
t0_.start_selling_at AS start_selling_at_27,
t0_.created_at AS created_at_28,
t0_.update_at AS update_at_29,
t0_.not_show AS not_show_30,
t1_.id AS id_31,
t1_.name AS name_32,
t1_.active AS active_33,
t1_.slug AS slug_34,
t1_.system AS system_35,
t2_.id AS id_36,
t2_.name AS name_37,
t2_.slug AS slug_38,
t2_.system AS system_39,
t3_.id AS id_40,
t3_.start_at AS start_at_41,
t3_.status AS status_42,
t3_.active AS active_43,
t3_.sale_open AS sale_open_44,
t3_.total_reservations_sold AS total_reservations_sold_45,
t3_.total_reservations AS total_reservations_46,
t4_.id AS id_47,
t4_.price AS price_48
FROM
tkt_event t0_
LEFT JOIN tkt_event_campaign t1_ ON t0_.campaign_id = t1_.id
LEFT JOIN tkt_event_type t2_ ON t0_.type_id = t2_.id
LEFT JOIN tkt_place t5_ ON t0_.place_id = t5_.id
LEFT JOIN tkt_event_presentation t3_ ON t0_.id = t3_.event_id
LEFT JOIN tkt_event_price t4_ ON t0_.id = t4_.event_id
WHERE
t0_.active = 1
AND t3_.active = 1
AND (
(
t0_.publish_at IS NOT NULL
AND t0_.publish_at <= ?
)
OR t0_.publish_at IS NULL
)
AND (
t3_.start_at >= ?
OR t0_.status <> ?
)
AND t0_.public_on_web = 1
GROUP BY
t0_.id
ORDER BY
t3_.start_at DESC,
t4_.price DESC
) dctrn_result_inner
ORDER BY
start_at_41 ASC
) dctrn_result
LIMIT
12
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, start_at_41 FROM (SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.subtitle AS subtitle_2, t0_.description AS description_3, t0_.length AS length_4, t0_.`interval` AS interval_5, t0_.customNamePlace AS customNamePlace_6, t0_.customUrlMapPlace AS customUrlMapPlace_7, t0_.discount AS discount_8, t0_.discountText AS discountText_9, t0_.image AS image_10, t0_.banner AS banner_11, t0_.numbered AS numbered_12, t0_.free AS free_13, t0_.sale_by_box_office AS sale_by_box_office_14, t0_.public_on_box_office AS public_on_box_office_15, t0_.sale_by_web AS sale_by_web_16, t0_.public_on_web AS public_on_web_17, t0_.status AS status_18, t0_.active AS active_19, t0_.`external` AS external_20, t0_.external_place AS external_place_21, t0_.external_address AS external_address_22, t0_.external_url AS external_url_23, t0_.external_price AS external_price_24, t0_.slug AS slug_25, t0_.publish_at AS publish_at_26, t0_.start_selling_at AS start_selling_at_27, t0_.created_at AS created_at_28, t0_.update_at AS update_at_29, t0_.not_show AS not_show_30, t1_.id AS id_31, t1_.name AS name_32, t1_.active AS active_33, t1_.slug AS slug_34, t1_.system AS system_35, t2_.id AS id_36, t2_.name AS name_37, t2_.slug AS slug_38, t2_.system AS system_39, t3_.id AS id_40, t3_.start_at AS start_at_41, t3_.status AS status_42, t3_.active AS active_43, t3_.sale_open AS sale_open_44, t3_.total_reservations_sold AS total_reservations_sold_45, t3_.total_reservations AS total_reservations_46, t4_.id AS id_47, t4_.price AS price_48 FROM tkt_event t0_ LEFT JOIN tkt_event_campaign t1_ ON t0_.campaign_id = t1_.id LEFT JOIN tkt_event_type t2_ ON t0_.type_id = t2_.id LEFT JOIN tkt_place t5_ ON t0_.place_id = t5_.id LEFT JOIN tkt_event_presentation t3_ ON t0_.id = t3_.event_id LEFT JOIN tkt_event_price t4_ ON t0_.id = t4_.event_id WHERE t0_.active = 1 AND t3_.active = 1 AND ((t0_.publish_at IS NOT NULL AND t0_.publish_at <= '2026-01-02 00:54:20') OR t0_.publish_at IS NULL) AND (t3_.start_at >= '2026-01-02 01:24:20' OR t0_.status <> 'valid') AND t0_.public_on_web = 1 GROUP BY t0_.id ORDER BY t3_.start_at DESC, t4_.price DESC) dctrn_result_inner ORDER BY start_at_41 ASC) dctrn_result LIMIT 12;
|
1.09 ms (2.04%)
|
1 |
SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.subtitle AS subtitle_2, t0_.description AS description_3, t0_.length AS length_4, t0_.`interval` AS interval_5, t0_.customNamePlace AS customNamePlace_6, t0_.customUrlMapPlace AS customUrlMapPlace_7, t0_.discount AS discount_8, t0_.discountText AS discountText_9, t0_.image AS image_10, t0_.banner AS banner_11, t0_.numbered AS numbered_12, t0_.free AS free_13, t0_.sale_by_box_office AS sale_by_box_office_14, t0_.public_on_box_office AS public_on_box_office_15, t0_.sale_by_web AS sale_by_web_16, t0_.public_on_web AS public_on_web_17, t0_.status AS status_18, t0_.active AS active_19, t0_.`external` AS external_20, t0_.external_place AS external_place_21, t0_.external_address AS external_address_22, t0_.external_url AS external_url_23, t0_.external_price AS external_price_24, t0_.slug AS slug_25, t0_.publish_at AS publish_at_26, t0_.start_selling_at AS start_selling_at_27, t0_.created_at AS created_at_28, t0_.update_at AS update_at_29, t0_.not_show AS not_show_30, t1_.id AS id_31, t1_.name AS name_32, t1_.active AS active_33, t1_.slug AS slug_34, t1_.system AS system_35, t2_.id AS id_36, t2_.name AS name_37, t2_.slug AS slug_38, t2_.system AS system_39, t3_.id AS id_40, t3_.start_at AS start_at_41, t3_.status AS status_42, t3_.active AS active_43, t3_.sale_open AS sale_open_44, t3_.total_reservations_sold AS total_reservations_sold_45, t3_.total_reservations AS total_reservations_46, t4_.id AS id_47, t4_.price AS price_48, t0_.campaign_id AS campaign_id_49, t0_.place_id AS place_id_50, t0_.type_id AS type_id_51, t0_.ticket_layout_id AS ticket_layout_id_52, t0_.scheduling_id AS scheduling_id_53, t3_.event_id AS event_id_54, t3_.scheduling_id AS scheduling_id_55, t4_.event_id AS event_id_56, t4_.sector_sale_id AS sector_sale_id_57 FROM tkt_event t0_ LEFT JOIN tkt_event_campaign t1_ ON t0_.campaign_id = t1_.id LEFT JOIN tkt_event_type t2_ ON t0_.type_id = t2_.id LEFT JOIN tkt_place t5_ ON t0_.place_id = t5_.id LEFT JOIN tkt_event_presentation t3_ ON t0_.id = t3_.event_id LEFT JOIN tkt_event_price t4_ ON t0_.id = t4_.event_id WHERE t0_.active = 1 AND t3_.active = 1 AND ((t0_.publish_at IS NOT NULL AND t0_.publish_at <= ?) OR t0_.publish_at IS NULL) AND (t3_.start_at >= ? OR t0_.status <> ?) AND t0_.public_on_web = 1 AND t0_.id IN (?) GROUP BY t0_.id ORDER BY t3_.start_at ASC, t4_.price DESC
Parameters: [
"2026-01-02 00:54:20"
"2026-01-02 01:24:20"
"valid"
1073
]
SELECT
t0_.id AS id_0,
t0_.name AS name_1,
t0_.subtitle AS subtitle_2,
t0_.description AS description_3,
t0_.length AS length_4,
t0_.`interval` AS interval_5,
t0_.customNamePlace AS customNamePlace_6,
t0_.customUrlMapPlace AS customUrlMapPlace_7,
t0_.discount AS discount_8,
t0_.discountText AS discountText_9,
t0_.image AS image_10,
t0_.banner AS banner_11,
t0_.numbered AS numbered_12,
t0_.free AS free_13,
t0_.sale_by_box_office AS sale_by_box_office_14,
t0_.public_on_box_office AS public_on_box_office_15,
t0_.sale_by_web AS sale_by_web_16,
t0_.public_on_web AS public_on_web_17,
t0_.status AS status_18,
t0_.active AS active_19,
t0_.`external` AS external_20,
t0_.external_place AS external_place_21,
t0_.external_address AS external_address_22,
t0_.external_url AS external_url_23,
t0_.external_price AS external_price_24,
t0_.slug AS slug_25,
t0_.publish_at AS publish_at_26,
t0_.start_selling_at AS start_selling_at_27,
t0_.created_at AS created_at_28,
t0_.update_at AS update_at_29,
t0_.not_show AS not_show_30,
t1_.id AS id_31,
t1_.name AS name_32,
t1_.active AS active_33,
t1_.slug AS slug_34,
t1_.system AS system_35,
t2_.id AS id_36,
t2_.name AS name_37,
t2_.slug AS slug_38,
t2_.system AS system_39,
t3_.id AS id_40,
t3_.start_at AS start_at_41,
t3_.status AS status_42,
t3_.active AS active_43,
t3_.sale_open AS sale_open_44,
t3_.total_reservations_sold AS total_reservations_sold_45,
t3_.total_reservations AS total_reservations_46,
t4_.id AS id_47,
t4_.price AS price_48,
t0_.campaign_id AS campaign_id_49,
t0_.place_id AS place_id_50,
t0_.type_id AS type_id_51,
t0_.ticket_layout_id AS ticket_layout_id_52,
t0_.scheduling_id AS scheduling_id_53,
t3_.event_id AS event_id_54,
t3_.scheduling_id AS scheduling_id_55,
t4_.event_id AS event_id_56,
t4_.sector_sale_id AS sector_sale_id_57
FROM
tkt_event t0_
LEFT JOIN tkt_event_campaign t1_ ON t0_.campaign_id = t1_.id
LEFT JOIN tkt_event_type t2_ ON t0_.type_id = t2_.id
LEFT JOIN tkt_place t5_ ON t0_.place_id = t5_.id
LEFT JOIN tkt_event_presentation t3_ ON t0_.id = t3_.event_id
LEFT JOIN tkt_event_price t4_ ON t0_.id = t4_.event_id
WHERE
t0_.active = 1
AND t3_.active = 1
AND (
(
t0_.publish_at IS NOT NULL
AND t0_.publish_at <= ?
)
OR t0_.publish_at IS NULL
)
AND (
t3_.start_at >= ?
OR t0_.status <> ?
)
AND t0_.public_on_web = 1
AND t0_.id IN (?)
GROUP BY
t0_.id
ORDER BY
t3_.start_at ASC,
t4_.price DESC
SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.subtitle AS subtitle_2, t0_.description AS description_3, t0_.length AS length_4, t0_.`interval` AS interval_5, t0_.customNamePlace AS customNamePlace_6, t0_.customUrlMapPlace AS customUrlMapPlace_7, t0_.discount AS discount_8, t0_.discountText AS discountText_9, t0_.image AS image_10, t0_.banner AS banner_11, t0_.numbered AS numbered_12, t0_.free AS free_13, t0_.sale_by_box_office AS sale_by_box_office_14, t0_.public_on_box_office AS public_on_box_office_15, t0_.sale_by_web AS sale_by_web_16, t0_.public_on_web AS public_on_web_17, t0_.status AS status_18, t0_.active AS active_19, t0_.`external` AS external_20, t0_.external_place AS external_place_21, t0_.external_address AS external_address_22, t0_.external_url AS external_url_23, t0_.external_price AS external_price_24, t0_.slug AS slug_25, t0_.publish_at AS publish_at_26, t0_.start_selling_at AS start_selling_at_27, t0_.created_at AS created_at_28, t0_.update_at AS update_at_29, t0_.not_show AS not_show_30, t1_.id AS id_31, t1_.name AS name_32, t1_.active AS active_33, t1_.slug AS slug_34, t1_.system AS system_35, t2_.id AS id_36, t2_.name AS name_37, t2_.slug AS slug_38, t2_.system AS system_39, t3_.id AS id_40, t3_.start_at AS start_at_41, t3_.status AS status_42, t3_.active AS active_43, t3_.sale_open AS sale_open_44, t3_.total_reservations_sold AS total_reservations_sold_45, t3_.total_reservations AS total_reservations_46, t4_.id AS id_47, t4_.price AS price_48, t0_.campaign_id AS campaign_id_49, t0_.place_id AS place_id_50, t0_.type_id AS type_id_51, t0_.ticket_layout_id AS ticket_layout_id_52, t0_.scheduling_id AS scheduling_id_53, t3_.event_id AS event_id_54, t3_.scheduling_id AS scheduling_id_55, t4_.event_id AS event_id_56, t4_.sector_sale_id AS sector_sale_id_57 FROM tkt_event t0_ LEFT JOIN tkt_event_campaign t1_ ON t0_.campaign_id = t1_.id LEFT JOIN tkt_event_type t2_ ON t0_.type_id = t2_.id LEFT JOIN tkt_place t5_ ON t0_.place_id = t5_.id LEFT JOIN tkt_event_presentation t3_ ON t0_.id = t3_.event_id LEFT JOIN tkt_event_price t4_ ON t0_.id = t4_.event_id WHERE t0_.active = 1 AND t3_.active = 1 AND ((t0_.publish_at IS NOT NULL AND t0_.publish_at <= '2026-01-02 00:54:20') OR t0_.publish_at IS NULL) AND (t3_.start_at >= '2026-01-02 01:24:20' OR t0_.status <> 'valid') AND t0_.public_on_web = 1 AND t0_.id IN (1073) GROUP BY t0_.id ORDER BY t3_.start_at ASC, t4_.price DESC;
|
1.00 ms (1.89%)
|
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.maintenance_mode AS maintenance_mode_3, t0.maintenance_title AS maintenance_title_4, t0.maintenance_subtitle AS maintenance_subtitle_5, t0.maintenance_text AS maintenance_text_6, t0.checkin_threshold_before AS checkin_threshold_before_7, t0.checkin_threshold_after AS checkin_threshold_after_8, t0.maximum_web_sales AS maximum_web_sales_9, t0.expire_web_sales AS expire_web_sales_10, t0.agenda AS agenda_11, t0.show_agenda AS show_agenda_12, t0.advice_title AS advice_title_13, t0.advice_content AS advice_content_14, t0.show_advice AS show_advice_15 FROM tkt_setting t0 WHERE t0.name = ? LIMIT 1
SELECT t0.id AS id_1, t0.name AS name_2, t0.maintenance_mode AS maintenance_mode_3, t0.maintenance_title AS maintenance_title_4, t0.maintenance_subtitle AS maintenance_subtitle_5, t0.maintenance_text AS maintenance_text_6, t0.checkin_threshold_before AS checkin_threshold_before_7, t0.checkin_threshold_after AS checkin_threshold_after_8, t0.maximum_web_sales AS maximum_web_sales_9, t0.expire_web_sales AS expire_web_sales_10, t0.agenda AS agenda_11, t0.show_agenda AS show_agenda_12, t0.advice_title AS advice_title_13, t0.advice_content AS advice_content_14, t0.show_advice AS show_advice_15 FROM tkt_setting t0 WHERE t0.name = 'lugo' LIMIT 1;
|