The first one is unnatural. The second one is slightly less unnatural, but the normal way to ask this is "What time does your shop close?". If it is obvious what you are talking about, e.g. you are in the shop, you can also just say "What time do you close?"