QUERY PLAN
Sort (cost=20.61..20.63 rows=5 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..20.55 rows=5 width=34)
Filter: (contract_id = ANY ('{2930,3429,3666,4173}'::integer[]))