Thanks for your query.
Sometimes thyroid hormonal
disbalance (hyperthyreosis) can cause and decreased performance or attention disorder
If your hormonal balance is normal like TSH this cant be from thyroid .
You need to relax and do not stress yourself .
Take the medication as prescribed from doctor.
Take care of your self