Your problem isn't the high heat during the day which tomatoes tolerate pretty well, it's the high night temperatures you'll have problems with. Tomatoes don't like to set fruit when the night temperatures get over 21 to 23deg.C . Some heat tolerant types and the cherry tomatoes do better with this, but there are no guarantees.
One "wild" variety I had some seeds for is the Everglades tomato, a sport that someone grew and still grows in South Florida. They are known to bear fruit right through our tropical summers, which are very likely similar to your equatorial climate.
I know we have one very knowledgeable gardener on this forum who is from the Phillippines so I'll call on her
@tarev What do you think?