QUERY PLAN
Sort (cost=9.93..9.94 rows=3 width=16)
Sort Key: remind_date
-> Seq Scan on tbl_service_contract_remind_dates (cost=0.00..9.91 rows=3 width=16)
Filter: ((NOT reminded) AND (contract_id = ANY ('{3843,3841,3840,3703,3550}'::integer[])))