idvisitor in table prefix_log_conversion is saved as binary. Checking the Piwik PHP code, it seems like the function bin2hex is used to convert the id to the correct database format. Is there any way to do this in SQL? Something like
SELECT * FROM prefix_log_conversion WHERE idvisitor = SOME_FUNCTION('1e679b5b8f2');