my $query = "SELECT COLUMN3 FROM $table WHERE COLUMN1=\'$var1\' AND COLUMN2=\'$var2\'";