QUERY PLAN
Sort (cost=27.09..27.11 rows=10 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..26.92 rows=10 width=34)
Filter: (contract_id = ANY ('{4361,4220,4167,4004,3784,3722,3561,3424,3411,3292}'::integer[]))