"Excuse me, are you ok?"
Translation:סליחה, את בסדר?
הכל בסדר עם אותך is not a correct sentence, you mean:
"הכל בסדר איתך"
That means "Is everything ok?"
no need for האם just say אתה בסדר to ask someone if they are ok the literal translation is "are you in order" which is used when someone seems a bit down or not being themselves, it's more of a way to ask "are you fine?" in english.