QUERY PLAN
Sort (cost=21.74..21.78 rows=15 width=30)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..21.45 rows=15 width=30)
Filter: (contract_id = ANY ('{4072,4041,4073,4070,4062,4052,4059,4066,4067,3940,3928,3927,3963,4069,4045}'::integer[]))