QUERY PLAN
Aggregate (cost=296.04..296.05 rows=1 width=32)
-> Seq Scan on tbl_erp_cash_cost_tickets t (cost=0.00..294.76 rows=510 width=5)
Filter: ((created_at >= '2025-08-08 14:34:58+08'::timestamp with time zone) AND (status = 2))