QUERY PLAN
Aggregate (cost=2.88..2.89 rows=1 width=8)
-> Seq Scan on tbl_erp_other_collect_tickets r (cost=0.00..2.88 rows=1 width=0)
Filter: ((bank_settle_at IS NOT NULL) AND (status = 2) AND (supplier_id = 431) AND ((amount - settle_amount) > '0'::numeric))