I use these occasionally (after ear plugs started causing problems for my ears). They do a pretty good job in my experience at helping me focus even though they do not perfectly cut out some sounds, everything is muffled enough that it's a peaceful sensation if not total silence.
The bigger issue for me is they really can't be worn more than an hour or so at a time without discomfort.