Optimize inserting long BLOB values for MySQL

Constants should be declared at companion objects.