QUERY PLAN
Sort (cost=1.10..1.11 rows=4 width=33)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..1.06 rows=4 width=33)
Filter: (contract_id = ANY ('{5,7}'::integer[]))