Return ErrNotFound when no row matches the query