QUERY PLAN
Sort (cost=9.95..9.96 rows=3 width=26)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..9.93 rows=3 width=26)
Filter: (contract_id = ANY ('{3849,3848,3847}'::integer[]))