If you want a new processor because your Mini is slow, there are more effective options that will make a greater difference if your Mini current has a mechanical hard drive. Most Macs of that era that are considered slow by their users are slow becasue of their mechanical hard drives, not their processors. Example of two options to deal withtn eh mech drive:
—Requires opening the computer: I have a 2012 Macbook Pro with the same i5 processor and virtually identical benchmarks as your 2012 Mini i5:

It came with a slow 5400rpm hard drive whose max data transfer rates were about 70MB/sec even when new. After a couple of years of struggle, I replaced the HDD with an inexpensive internal SSD. Now the transfer rates are ~500MBsec and the computer still gives plenty of satisfying speed, and remains my travel Mac today, over 11 years after its purchase.
—The "non-invasive option: You can attach a USB3 SSD external drive, clone your current internal drive to it, and set the external as the boot volume. The cheapest incarnation of that at-home conversion will do 400MB/sec, still plenty-fast compared to a 2012 mech drive.
Information on the external boot volume option is here:
Use an external SSD as your startup disk … - Apple Community