QUERY PLAN
Aggregate (cost=51.81..51.82 rows=1 width=8)
-> Seq Scan on tbl_tasks (cost=0.00..51.81 rows=1 width=0)
Filter: ((end_at < '2026-06-04'::date) AND (task_group_id = 203) AND (status = 0))