QUERY PLAN
Sort (cost=20.66..20.67 rows=4 width=41)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..20.62 rows=4 width=41)
Filter: (contract_id = ANY ('{4475,4482,4477,4485}'::integer[]))