If you are looking to game at 1080p/Ultra then for the majority of games, the GTX 1050Ti should not be restricted by that CPU. As mentioned above, you could also consider a 1060 or maybe a 1070.
With a GTX 1070 at 1080p you'll probably begin to encounter the famous 'bottleneck' in certain games. This might manifest itself as a slight loss in fps vs. the maximum output of the card... or more than that (as it really depends on the game in question).
There's an interesting video on Gamers Nexus YouTube channel where they find the bottleneck zone for a Pentium G4560. That CPU is weaker than an i5 3470 ofc. Though for that particular CPU a GTX 1060 or RX 580 was deemed as a good match.
https://www.youtube.com/watch?v=DL7YcPlJ83c