So I am a part of the LGBTQ community and work in a big city in middle europe. A lot of my coworkers are religios and have a foreign background. They are mostly very nationalist and homo-/transphobic. I hate them for their blind hate and bigotry, which wont change. I have realised, that I have become a bit bigotred towards people like them in the last few months, which is, even tho my biases often revealed to be true, just unfair to them. How could I stop that?
In your case as a discriminated minority this is a natural defense mechanism. You are going to be on the alert for people who based on demographics are more likely to be hostile towards you based on past experiences and trauma.
Some countries are much more hostile towards anyone lgbt than others so unfortunately those views might carry over.
What you can do is be aware of the bias. Don’t let your guard down until you get to know the person. Don’t let their race or nationality prevent you from getting to know them. If they prove to be discriminatory or dangerous then it’s healthy to set boundaries. You don’t need to feel guilty for not liking an individual person who is actively discriminating against you.