QUERY PLAN
Sort (cost=22.80..22.81 rows=6 width=34)
Sort Key: remind_date
-> Seq Scan on tbl_purchase_contract_payment_collection_remind_dates (cost=0.00..22.72 rows=6 width=34)
Filter: (contract_id = ANY ('{3986,3110,2937,2862,845,841}'::integer[]))