Query from mysql in real time

my table structure is like this:
Start_Date (DateTime)
End_Date (DateTime)
Text (Varchar)

what i need to do is when any record has reach the current date/time, it will display it in the flash, real time. (No resetting of flash or anything like that)

same goes for when the record’s end date has exceed the current date/time; the flash will remove the text from the stage

how am i suppose to do that?