In other words, does the smart contract process the transaction that show up before the other on the chain explorer? (First come first serve)
It doesn't. Assuming if both were using the same fees and then it must be first come first serve but if there are two transactions with different fees and the blockchain will be prioritizing the transaction with the higher fees to be included in the latest block.