SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6be97e6c8d6b47d7904ec2a79b732252603d8e21a883de239344ce97ce85184b}Szalapa{6be97e6c8d6b47d7904ec2a79b732252603d8e21a883de239344ce97ce85184b}' OR prCity = 'Szalapa' OR prZip = 'Szalapa' OR prStreet LIKE '{6be97e6c8d6b47d7904ec2a79b732252603d8e21a883de239344ce97ce85184b}Szalapa{6be97e6c8d6b47d7904ec2a79b732252603d8e21a883de239344ce97ce85184b}' OR prCountry = 'Szalapa') AND (prLocation LIKE '{6be97e6c8d6b47d7904ec2a79b732252603d8e21a883de239344ce97ce85184b}Ungarn{6be97e6c8d6b47d7904ec2a79b732252603d8e21a883de239344ce97ce85184b}' OR prCity = 'Ungarn' OR prZip = 'Ungarn' OR prStreet LIKE '{6be97e6c8d6b47d7904ec2a79b732252603d8e21a883de239344ce97ce85184b}Ungarn{6be97e6c8d6b47d7904ec2a79b732252603d8e21a883de239344ce97ce85184b}' OR prCountry = 'Ungarn')