QUERY PLAN
Delete on tbl_calendars (cost=0.00..585.18 rows=1 width=6)
-> Seq Scan on tbl_calendars (cost=0.00..585.18 rows=1 width=6)
Filter: (is_system AND (created_by = 1000) AND ((start_at >= '2025-06-25 00:00:00+08'::timestamp with time zone) OR (end_at >= '2025-06-25 00:00:00+08'::timestamp with time zone)))