QUERY PLAN
Sort (cost=22.67..22.70 rows=12 width=30)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..22.45 rows=12 width=30)
Filter: (contract_id = ANY ('{3936,4079,4076,4013,4010,4003,3950,4081,4078}'::integer[]))