On EVERY iPhone 10 is a small indented circle next to the flash, which is exactly what you're describing. This is not a crack in the lens, nor is it a defect. It's there on purpose and will be found on every iPhone X you can find. Is this what you're describing?
If it is, you don't have an issue with the lens on your iPhone X.