In Windows it would be very simple to use a single line shortcut or "sendto" command and any one of dozens of PDF app's such as ultra-fast MuPDF or even GhostScript.
However, this is a Python question and thus I will show a one-line method for Python.
In windows to process a folder we use a for loop allowing for multiple inputs for example for %f in (*.pdf) do python .....
Thus, we ensure we have a suitable library we can import to replace mutool with pymupdf, and using the following command, all the files (Just two here as MWE, one with spaces for assurance) are instantly split.
for %f in (*.pdf) do @python -c "import pymupdf; import os; fn=r'%f'; src=pymupdf.open(fn); [ (lambda p: (d:=pymupdf.open(), d.insert_pdf(src, from_page=p.number, to_page=p.number), d.save(f'{os.path.splitext(fn)[0]}_page_{p.number+1}.pdf'), d.close()))(p) for p in src ]"

If you need multiple lines or Python file handling then consider one of the more complex answers, but this is a basic, use a command line task.
To save it as a CMD file, convert the %f to %%f and edit the file mask to allow for an argument.