Can you be more specific about how you're moving values around?
Is this all within a PHP app talking to MySQL or are you interacting with bitcoind via JSON?
To the above - varchar probably isn't the best way to store BTC values. You're storing the value as a text string that represents the value rather than storing the value itself.