SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{166c10e22134202937a78dcd90f8fe3e84c7e07e0293e290133eeafd8313309a}Barcs{166c10e22134202937a78dcd90f8fe3e84c7e07e0293e290133eeafd8313309a}' OR prCity = 'Barcs' OR prZip = 'Barcs' OR prStreet LIKE '{166c10e22134202937a78dcd90f8fe3e84c7e07e0293e290133eeafd8313309a}Barcs{166c10e22134202937a78dcd90f8fe3e84c7e07e0293e290133eeafd8313309a}' OR prCountry = 'Barcs') AND (prLocation LIKE '{166c10e22134202937a78dcd90f8fe3e84c7e07e0293e290133eeafd8313309a}Ungarn{166c10e22134202937a78dcd90f8fe3e84c7e07e0293e290133eeafd8313309a}' OR prCity = 'Ungarn' OR prZip = 'Ungarn' OR prStreet LIKE '{166c10e22134202937a78dcd90f8fe3e84c7e07e0293e290133eeafd8313309a}Ungarn{166c10e22134202937a78dcd90f8fe3e84c7e07e0293e290133eeafd8313309a}' OR prCountry = 'Ungarn')