Update mysql.js

removed undefined properties for where statement in fetch call.