Promisify queryView
queryViewInner promisified "query with keys" part