usa CONCAT()...
codice:
where concat(nome, ' ', cognome) = '$nome_cognome'