Dear P.Y.
All I can say is that you are headed in the right direction. Keep moving forward, and don't look backwards. No matter what "was", it can/will all change, and get better. You must believe this.
If it will make you feel better, I can share some similiar experiences as far as sitting in kolel, and when I was being attacked, the Y"H would grab me by my collar and pull my outside to the streets. I always wondered about that chaza'l, that if the Y"H starts up with you, bring him to the Beis Hamedresh". We are to understand that in the Beis HaMedresh we would find a safe haven, and could learn undisturbed. I could literally be in the middle of a shiur, and then be bombarded with thoughts that made my body shake until I just couldn't sit still in my chair. I had to run out of the confinds of the Beis Hemedrish or I would go kookoo, (no relation to kookooreekoo).
I then found sometime afterwards in the sefer Taharas Hakodesh, that this chaza'l of taking your Y"H to the Beis Medrish will only work for those who are in the category of, תורתם אמנותם
Yes, only for those fortunate one's who have had learning in their blood as literally their "lifes blood" they would be sheltered in the Beis Hamedrish. But, others like ourselves, he wrote, our struggle will be there as well.
As far as attention span during learning. In the same sefer, the Ba'al Shomer Emunim writes that there are those who's minds are such that they almost can't learn at all. He is referring to those who can't keep their attention span AT ALL on any learning due to the fact that their mind is NOT in their control. Their thoughts are constantly wondering. He gives the advice, that it is בדוק ומנוסה
one merely must choose a certain limud, and make a very short term goal, (if neccessary even for only 5 minutes) that this person will put all of their Koach no matter what into this limud...and they WILL be able to do it. Then after a few days or so, they will increase this to 10 or 15 minutes, and by doing this, the person WILL succeed in re-training their mind to have the attention span to learn.
So perhaps in your case you would need to start with 1/2 - 1 hour and then build yourself up. But, the bottom line is that....
it can be done.