Generally, these kinds of pharmaceuticals should be good for decades. If a drug is stored in a dry place, pretty much the worst thing that can happen is that a small portion of the drug gets destroyed by oxidation or UV light. I don't see any of the degradation products of thiamine actually being toxic to any significant degree, though.