Keyrange from key and to key