QUERY PLAN
Sort (cost=34.93..34.95 rows=5 width=16)
Sort Key: remind_date
-> Seq Scan on tbl_service_contract_remind_dates (cost=0.00..34.88 rows=5 width=16)
Filter: ((NOT reminded) AND (contract_id = 8))