There is a video below with another option, from a trusted shrimp keeper.
What I have normally done is (actually not do this very often), take a fluval edge vacuum
https://fluvalaquatics.com/us/product/edge-gravel-cleaner/ I think there was a longer tube version, and another version, check if there are options. They are much smaller tube than most vacs.
I do not use this but have seen one person tape a plastic fork to the end of the vac tub to help maybe move shrimp away, but again, I haven't done that.
Usually just fan the shrimp away and mostly am successful in having few sucked up. But the little guys are pretty curious.
I use a white bucket for checking for shrimp, which makes it easy to see the shrimps darting around.
After you take the mucky water from the tank, let it settle for a little bit.
You can slowly pour off "most" the water through a net with little tiny holes. There seem to be nets with larger holes, very small holes, and then a nylon fabric which doesn't look like it has any holes.
You can use treated water in a gallon / half gallon pitcher, pour through the net to further rid it of silty stuff, kinda cleaning it.
If you put the muck into a white bucket with a few inches of clean treated water, and gently swirl it in a circle, you will see the jerky shrimp darting movements out of the slow swirl of muck. If you have a shrimp, net it and put back into the tank.
If after looking for movement and doing a few swirls, and no movement, then dump it out and do the next scoop of muck. I usually dump it in the garden or flush in the toilet
You can add more clean treated water to the suctioned muck bucket to get the sludge to come out through the net more smoothly. A scoop at a time till the muck is gone and you have caught any possible shrimp. Some of them are SO tiny.
You get better and faster after you get the hang of it. Hopefully this doesn't freak anyone out, but I would do this in a spare bath tub and have plenty of room for swishing and getting fresh water. (Bleach spray everything in the tub when finished).
I would usually also do Clorox type bleach, no fragrances in my bucket with the nets, I think it is a teaspoon, could be a tablespoon for sanitizing, (I'd have to look it up) per gallon of water. Let sit for a few hours and then rinse everything well until the bleach smell is mostly gone and let dry. Rinse off again, I then fill the bucket up again and soak it all in Prime water max dose listed for a few more hours. Rinse again and let dry.
You can use the sanitizing process to clean all the aquarium stuff you use like nets and vac's, buckets, pitchers, cups, etc.
You get faster and this sounds tedious, which it is a bit of extra work, but the idea of throwing away shrimp make the extra work worth it.
Rachel o'Leary video