QUERY PLAN
Aggregate (cost=1.07..1.08 rows=1 width=32)
-> Seq Scan on tbl_erp_personal_taxs t (cost=0.00..1.07 rows=1 width=32)
Filter: ((created_at <= '2026-01-30 00:00:00+08'::timestamp with time zone) AND ((bank_settle_at > '2026-01-30 00:00:00+08'::timestamp with time zone) OR (NOT is_payment_settle)) AND (status = 2))