A low profile GTX1050Ti can run in that. I suggest 12GB RAM with the 4GB GPU. The 240W PSU is OK.
Here are the builds for that. Most of them are MT towers with big PSUs and GPUs. But you can see the CPU options there, and if you scroll down far enough you'll find some 1050Ti I'm sure. Some of the Xeons and unlocked CPUs are probably overclocks.