I cannot see anything immediately wrong with your water parameters.
What shrimp are we talking about here?
And where are you located?
Shrimp spazzing out means that there is something toxic in the water that is affecting them, unlike a wrong water parameter which is usually a slow affect on the shrimp. If it's getting critical, get the shrimp out into a temporary container and perform a 100% water change asap. Including the water in external filters. Refill the empty tank with your RO water treated to the correct parameters. Then reintroduce the shrimp by slowly drip acclimation.
Can you post a picture of the whole tank? Is there a lid on the tank?
Describe what else you have in the tank as detailed as possible. List all decorations, plants, rocks, wood, etc.
Does your tank run on air pumps? And has anyone sprayed insecticides (fly or roach sprays) nearby lately?
Can you show us what was used to mix the ca, mg, K? And what ratios of each?
Apologies for all the questions, just trying to get a picture here to see if we can help you.