QUERY PLAN
Sort (cost=23.79..23.81 rows=7 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..23.69 rows=7 width=34)
Filter: (contract_id = ANY ('{4440,4441,4458,4449,4485,4460,4472}'::integer[]))