QUERY PLAN
Sort (cost=24.88..24.91 rows=9 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..24.74 rows=9 width=34)
Filter: (contract_id = ANY ('{4174,4137,3817,3723,3687,3461,3387,3340}'::integer[]))