Here's why:
* "Like" introduces a clause that describes a feeling or perception. In this case, the feeling is "being mistreated."
* "Was being mistreated" is the correct tense and structure to describe an ongoing action in the past.
* "That mistreated" is grammatically incorrect in this context. It lacks a subject and a verb, and doesn't properly convey the feeling of ongoing mistreatment.