CompeteLimitExceeded message

I’m running inside the scratchpad a query but getting …
{“code”:“executionComputeLimitExceeded”,“message”:“service error: compute limit of 10 seconds exceeded”}

How do I get around this ?