QUERY PLAN
Aggregate (cost=3.01..3.02 rows=1 width=32)
-> Seq Scan on tbl_erp_cost_tickets t (cost=0.00..2.88 rows=50 width=5)
Filter: ((verify_at <= '2026-06-30 23:59:59+08'::timestamp with time zone) AND (status = 2))