QUERY PLAN
Sort (cost=13.86..13.89 rows=10 width=26)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..13.70 rows=10 width=26)
Filter: (contract_id = ANY ('{3818,3817,3814,3810,3813,3806,3804,3802,3801,3800}'::integer[]))