QUERY PLAN
Sort (cost=24.91..24.93 rows=10 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..24.74 rows=10 width=34)
Filter: (contract_id = ANY ('{4368,4369,4355,4370,4379,2902,3752,3888}'::integer[]))