Improving WorkersInfoHandler

Optimizing query