QUERY PLAN
Sort (cost=19.58..19.63 rows=22 width=26)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..19.09 rows=22 width=26)
Filter: (contract_id = ANY ('{3807,3794,3793,3798,3788,3827,3785,3784,3786,3781,3779,3776,3775,3774,3772,3780,3769,3766,3765,3760}'::integer[]))