While it's true marketing can impact how your dollars could actually contribute to better living conditions, I'd just it's defeatist to just throw your hands up and say it doesn't matter.
A consumer can look up certifications like Certified Humane which does audits on farms to ensure they're following the required standards. While I'm sure it's not a perfect system it does hold farms to some accountability. https://www.aspca.org/shopwithyourheart/consumer-resources/c...