A shop manager most often looks at the shop's orders from some day on: WHERE shop_id = 2 AND ordered_at >= '2026-10-01'. Sometimes the manager needs all of the shop's orders: WHERE shop_id = 2. Create one index on the orders table that helps both queries. Choose the index name yourself.