query = (q, data) => {
  return new Promise((resolve, reject) => {
    db.query(q, data, (err, res) => (err ? reject(err) : resolve(res)))
  })
}
Query MySQL as a promise
@param {String} q MySQL Query
@param {Object} data Data needed by the query
@returns {<Promise>} Promise