If your storage and OS support trim, quick format can takes long time.
Furtermore, you can disable trim before format and activate it later.
For Windows:
Disable trim command:
fsutil behavior set disabledeletenotify 1
To enable again:
fsutil behavior set disabledeletenotify 0
Link: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-behavior
For Linux:
If you try format it with XFS, you can use -K option with mkfs.xfs, for example:
mkfs.xfs -f -K -L disk_label /dev/mapper/mpatha1
Disable trim, ,if quick format takes long time