v3 proto: lookup hash unique index and handling of non-primary indexes for inserts