It does not look like mold to me, looks like krausen from the foam during fermentation. Unless there are white, blue, green, red or orange "furry" spots your probably ok.
I would clean the airlock as it looks like krausen in that too. It may plug the airlock.
You could carefully clean the krausen if you want to. Use a sanitized paper towel. I would suggest its not really necessary the krausen should dry.