QUERY PLAN
Append (cost=0.00..2.96 rows=1 width=162)
-> Seq Scan on tbl_erp_other_collect_tickets (cost=0.00..2.95 rows=1 width=162)
Filter: ((status = 2) AND (client_id = 89) AND ((amount - all_settle_amount) > '0'::numeric))