Did you find that that helped you focus despite anxiety? Annoyingly, I've only been able to get my hands on the most common one, Adderall, which turns me into a bouncy boy flying off the walls for some reason. It sadly seemed to trigger my anxiety too. Child comment mentions trying some others, which I might do.
(Have been on multiple different anti anxiety / depression meds, as well as a few anti seizure meds too fwiw.)