Recent efforts have promoted programmable wireless environments (PWEs) to enhance the reception quality in high-frequency bands via reconfigurable intelligent surfaces (RISs). However, relevant research efforts are limited to setups with stationary users. This paper shows that crowd mobility in indoor PWEs induces spatio-temporal shadows on the surfaces, resulting in spatio-temporal sparsity in channel gains due to signal blockages. This overlooked aspect impacts the operation strategy of PWEs as the shadowed RIS tiles would contribute to the overheads while offering almost no improvement to the reception quality. Hence, this paper proposes an optimal strategy that excludes the shadowed tiles, which maximizes the utilization efficiency of RISs while minimizing the overheads. Since signal blockage is tied with the details of user mobility, a general model does not exist to identify such shadowed tiles for exclusion. Hence, we follow a data-driven approach that capitalizes on a realistic indoor mobility model and ray-tracing to generate the channel data. However, conventional ray-tracing presents high complexity that hinders data generation. So, we propose an approach to identify the shadow regions with a nine-order of magnitude reduction in complexity to efficiently generate the channel data. Furthermore, we present two exclusion strategies that offer guaranteed and best-effort quality-of-service support, and each can identify the tiles to be excluded via a search method with a complexity of <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">O(N)</i> for <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">N</i> tiles. The results indicate that the proposed strategies reduce the overheads by 45 - 50% while maintaining optimal service quality in various environments, operation frequencies, and user and access point density.