Quote wildcard characters in MySQL `LIKE` queries (see #5896)