Mary,
Without wanting to start a debate, I postulate that we are all racists to one degree or another. That said, Spain is currently experiencing an emigration boom that leaves it facing an expansion of foreign population like that seen in the U.S. and the Philippines in the early 1800's. So, while the Philippines has had 200 or more years to become accustomed to foreign influence, Spain has had barely 15 years. You may notice some portrayals of foreigners (on television, advertising, etc.) which would shock you. On the other hand, Spaniards, as individuals, are, generally speaking, extremely tolerant and "envious/curious" about foreigners. While I can't promise you that you will have no negative experiences regarding racist individuals, I can say that the vast majority of your experiences will be extremely positive.
Are you sure that the person who was staring at you wasn't merely attracted to you? It seems strange to me that one would travel across the world to attend an international gathering, only to display a xenophobic attitude. The best way to avoid racism (in Europe or elsewhere) is to look for people who are open to people of any ethnic background. Don't worry about the few bad apples you'll find in any barrel. Enjoy the gathering.