QUERY PLAN
Sort (cost=27.05..27.08 rows=12 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..26.83 rows=12 width=34)
Filter: (contract_id = ANY ('{4387,4379,4370,4369,4368,4355,3888,2902,2352,2411}'::integer[]))