I don't know if this is the
best method, but I usually want the difference in seconds and then UNIX_TIMESTAMP() is the way to go.
So
SELECT id, UNIX_TIMESTAMP(replied)-UNIX_TIMESTAMP(received) AS resptime FROM tab;
would give you the difference between the two times in seconds.