kalua: db: query: hash2id() another optimization