The last Canon released printer and scanner drivers for this device were released in 2018. Provided you have networked the MG5420 and do not have a USB cable connected to your Mac, it is supported by Apple's built-in AirPrint, and no Canon software or drivers are required. It should support scanning via Apple's Image Capture via AirPrint.
Visit System Preferences > Printers & Scanners, right-click on your MG5420 entry, and from the contextual menu, select Reset printing system… When you re-add the device, choose AirPrint and not any Canon drivers. There may or may not be any scanner setup tab in the Printers & Scanners panel.
If you still cannot achieve scanning, even with Apple's Image Capture, then the recommended VueScan Professional does support it without any other driver or software requirement. I have owned VueScan Professional since 2010, never paid an upgrade fee, and it still supports the same scanner I used in 2010 on my M1 mini running macOS 11.5. I receive no product or compensation from the vendor for mentioning VueScan here.