QUERY PLAN
Sort (cost=9.40..9.40 rows=1 width=26)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..9.39 rows=1 width=26)
Filter: (contract_id = 3834)