It is one of several words used to aid in "counting seconds." When I was a kid, I used to develop my own film. I didn't have a darkroom timer. I didn't have a safelight, so I was working in total darkness. I would time off thirty seconds by counting "One, one thousand, two, one thousand, three, one thousand, four, one thousand." But another common one was "One, Mississippi, Two, Mississippi, Three, Mississippi." With a little practice you can learn a rhythm and time off seconds fairly accurately.
Let me try it right now. I'm going to try to time thirty seconds. Hmmph. 34.70 seconds. I'm out of practice.
For some reason, "Mississippi" is traditionally considered difficult to spell, and that might have led to somebody thinking of it as a "long word" that would take about a second to say. "Massachusetts" would work just as well, but it isn't used that way. There are just a lot of customs and traditions that take hold for some reason.
An old 1910 song features a woman singing about how hard it is to spell M-I-S, S-I-S, S-I-P-P-I .