has_prefix
int has_prefix(struct btval *key, const char *prefix);
if (!has_prefix(&key, search->cindx->prefix)) {