Much depends on the type of games you play.
Games such as sims, mmo, and strategy games depend on the performance of a single master core.
The i3-4170 @3.7 is very good for those types of games. The single thread passmark rating is 2136.
The total passmark rating is 5174.
By comparison, the i5-4590 has a single thread passmark rating of 2121 which is of no real help.
But, the total rating is better at 7214 when all 4 threads are in use.
Few games can effectively use more than 2-3 threads.
If your games are multiplayer with large numbers of participants, then a quad with a higher total rating can be helpful.
To help clarify your CPU/GPU options, run these two tests:
a) Run YOUR games, but lower your resolution and eye candy.
If your FPS increases, it indicates that your cpu is strong enough to drive a better graphics configuration.
If your FPS stays the same, you are likely more cpu limited.
b) Limit your cpu, either by reducing the OC, or, in windows power management, limit the maximum cpu% to something like 70%.
Go to control panel/power options/change plan settings/change advanced power settings/processor power management/maximum processor state/
This will simulate what a lack of cpu power will do.
Conversely what a 30% improvement in core speed might do.
You should also experiment with removing one core. You can do this in the windows msconfig boot advanced options option. set the number of processors to less than you have.
This will tell you how sensitive your games are to the benefits of many cores.
If your FPS drops significantly, it is an indicator that your cpu is the limiting factor, and a cpu upgrade is in order.
It is possible that both tests are positive, indicating that you have a well balanced system, and both cpu and gpu need to be upgraded to get better gaming FPS.
You could opt for a I7-4790K which comes with a higher stock clock of 4.0 and 4.4 turbo.
A i5-4690K can be overclocked to those numbers and perhaps higher, but, you would want a z chipset motherboard.
Most likely, I think, your best gaming upgrade will be to a stronger graphics card.
I would have no problem buying used from a good seller on ebay.
Know your prices, pay only with paypal. test promptly.
ebay will side with a buyer if the product is claimed to be not as advertised.
Many individuals are selling used i7-4790K chips in order to upgrade to skylake and are not too concerned about the price they fetch. I did that myself.