QUERY PLAN
Sort (cost=22.72..22.73 rows=3 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..22.69 rows=3 width=34)
Filter: (contract_id = ANY ('{1213,1234,1018}'::integer[]))