It's not possible to use IF THEN ELSIF?

You can use RETURN to leave the procedure:

IF condition1
THEN statement1; return;
END IF;
IF condition2
THEN statement2; return;
END IF;