Searching for item SKU in Commerce orders
Use the hasPurchasable order query param:

https://docs.craftcms.com/commerce/v2/dev/element-queries/order-queries.html#haspurchasables

{% set myOrderQuery = craft.orders()
    .hasPurchasables(product.defaultVariant)
    .limit(10)
%}