improve db operations matching / in keys