Scorpions hate fruity smells, so you could plant citrus plants that repel scorpions. In Arizona, orange and lemon trees grow well in the hot sun.
Certain trees could attract scorpions. Picking the right trees to plant on your property is often the best landscaping to prevent scorpions.
For many residents in the southwest, scorpions are difficult to beat, especially in Arizona. Does pest control work for scorpions?