QUERY PLAN
Sort (cost=13.91..13.94 rows=12 width=26)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..13.70 rows=12 width=26)
Filter: (contract_id = ANY ('{3834,3832,3828,3826,3825,3824,3823,3821,3820,3819}'::integer[]))