to get rid of that square with noise issue you need to have ray traced shadows and also increase samples per pixels if is too noise. Off course this will affect performance.
Without this enabled it doesn’t work.

you can also play with these options for that light that cast those shadows, maybe you can reduce it
