QUERY PLAN
Sort (cost=28.96..28.99 rows=10 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..28.80 rows=10 width=34)
Filter: (contract_id = ANY ('{4079,3820,3806,3700,3535,3572,3513,3511,3505,2800}'::integer[]))