QUERY PLAN
Sort (cost=27.11..27.14 rows=11 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..26.92 rows=11 width=34)
Filter: (contract_id = ANY ('{4449,4448,4384,4382,4342,4340,4225,4175,4051,3973}'::integer[]))