More perfomance on select with key argument