TNG espide "Attached" might count. http://memory-alpha.wikia.com/wiki/Attachedhttps://memory-alpha.fandom.com/wiki/Attached The Kes and Prytt appear to regard each other as inferior, and the Prytt call the Kes "xenophobic", but this could also just be seen as two nation states opposing each other as opposed to racism.