If you need to store this tomato and onion salad for more than an hour, you should do so in the refrigerator for best results and safety. Store it in an airtight container for up to 5 days.