QUERY PLAN
Sort (cost=22.73..22.74 rows=6 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..22.65 rows=6 width=34)
Filter: (contract_id = ANY ('{4137,3723,3687,3340,3817,4174}'::integer[]))