QUERY PLAN
Sort (cost=12.87..12.88 rows=4 width=16)
Sort Key: remind_date
-> Seq Scan on tbl_service_contract_remind_dates (cost=0.00..12.83 rows=4 width=16)
Filter: ((NOT reminded) AND (contract_id = ANY ('{1076,658,1313,192,3553,4043,3710,3711,4022,4083}'::integer[])))