A slow external SSD on Mac mini is usually limited by the slowest part of the connection: the Mac port, cable, enclosure ...
Mac mini restarting after sleep? Learn how to confirm a kernel panic, read the report, isolate docks and SSDs, use Safe Mode, and know when to contact Apple.