Flat Tire Question

So I got a flat and the slime kit didn't do anything. I had a tire shop take the wheel and they slapped a used tire on it. The used tire is in good shape but does not match the other 3 now. How long is it safe to drive around with that different tire?