I've never heard about the tomato part - but I do know about the salt.
Put salt on your tongue and just hold it there as long as you can - spit it out and then rinse. Repeat as necessary, but do not swallow the salted saliva.
My Mom taught me to take a strand of hair and rub it over your eye if you get hot stuff in it........kinda crazy but it works for me........your eye should be closed......