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