QUERY PLAN
Aggregate (cost=61.79..61.80 rows=1 width=32)
-> Seq Scan on tbl_erp_collect_tickets t (cost=0.00..61.79 rows=1 width=6)
Filter: ((created_at >= '2025-08-05 17:19:26+08'::timestamp with time zone) AND (status = 2))