QUERY PLAN
Sort (cost=28.07..28.10 rows=11 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..27.88 rows=11 width=34)
Filter: (contract_id = ANY ('{4498,4487,4473,4471,4470,4465,4451,2364,2216,2198,2114}'::integer[]))