I put a lot of effort into figuring out this conundrum for myself two years ago and never got to a solution.
I used to live in a large city and basically off of fast food. I then moved to a rural area and then got a diagnosis that means I can't eat wheat. Those two things have made it basically necessary that I cook for myself twice a day, which is an insane amount of time and effort that I consider wasted, as food ranks quite low on my personal ranking of priorities.
"I don't care how it tastes" was my initial starting point, too, but many options are just too bad to bear. Vanilla-flavoured superfood shakes, when mixed with a hand shaker and when I don't use ice-cold water, for example, actually bring me to the edge of vomiting. Food just shouldn't be that bad.
In my exploration of that direction, the local optimum I got to was vanilla Huel mixed in a blender with frozen red berries. This would be impractical for some people, as you have to wash the blender parts and drink it right after blending, or keep it refrigerated, which you can't do when you're on the go. Working remotely from home, however, this worked nicely for me.
But: Depriving myself of real food just remained a constant drain on my willpower, and I ultimately had more important things to do with my limited willpower resource. The reduced effort around food preparation was just not worth it.
Then I started learning to cook while intensely focusing on reducing recipes to their bare essentials. I also optimized efficiency by always using my kitchen utensils to full capacity and refrigerating/reheating components of future meals or even entire meals, where possible. It was still a boatload of work—way more than I ever felt happy putting into this.
The next thing that happened was that I got into a long-distance relationship with someone with different dietary restrictions. This complicates the refrigeration/reheating part of the equation, as it distributes food consumption between two households, and taking food with you means breaking the cooling chain.
At this point, it's just, "Ahh, screw it; this is just an inescapable fact of life".