Additionally, as someone who has been on the hiring side, unless you're getting let go from multiple positions in a short (fiveish years) time span, I don't care. Most people get fired at some point in their career. It can be for so many reasons that it doesn't mean anything unless it forms a pattern.
The last thing I can say about it is make sure you have a very good explanation of what happened just in case someone does ask. Don't put all the blame on the employer/boss/team. Take some responsibility but make it clear that it was a one off situation that you have learned from and won't be repeating. The fact you understand why you were let go and what you learned from it so that I won't have to fire you for the same thing is a big plus when I'm considering if I want you on my team.