Pulverize the coconut flakes in a food processor until they become crumbs. Put them in a large bowl.
Grind the pistachios in the food processor until they are ground into a flour. Don't grind them too long or you'll have pistachio butter! Put them in the same bowl that you put the coconut in, and mix them together.
Put the whole wheat or spelt flour in a separate bowl. Put the beaten eggs in another small bowl.
You now have three filled bowls. Line them up in this order: wheat/spelt flour, eggs, coconut/pistachio mixture. Mist your air fryer racks with the cooking oil spray.
Grab one of your thawed shrimp by the tail. Dredge it in the flour, dip it in the egg, then coat it in the coconut/pistachio mixture. Put it on the air fryer rack.
Repeat this dredging and coating process for all of the shrimp. Lay them in a single layer on your air fryer racks. Try to space them out so they are not touching much.
Lightly mist the shrimp with the cooking oil spray. Air fry at 400°F for 6 minutes. Switch the position of the trays in the air fryer oven and cook an additional 6 minutes.
Flip all of the shrimp over and switch the position of the trays in the fryer one final time. Cook for 6 more minutes. (The total cooking time in the air fryer is 18 minutes.)