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 ('{3707,3654,3650,3641,3533,2729,2728,2714,2567,2082}'::integer[]))