Based on the provided context, it is not clear what SCCM device query is being referred to. The context provides information on how to import and create device collections in SCCM, but not on how to create a device query based on the criteria provided in the question. Therefore, I am unable to answer the user's question.
References: