SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}Berlin{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}Berlin{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}' OR prCountry = 'Berlin') AND (prLocation LIKE '{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}/{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}/{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}' OR prCountry = '/') AND (prLocation LIKE '{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}Reinickendorf{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}' OR prCity = 'Reinickendorf' OR prZip = 'Reinickendorf' OR prStreet LIKE '{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}Reinickendorf{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}' OR prCountry = 'Reinickendorf') AND (prLocation LIKE '{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}Konradshöhe{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}' OR prCity = 'Konradshöhe' OR prZip = 'Konradshöhe' OR prStreet LIKE '{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}Konradshöhe{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}' OR prCountry = 'Konradshöhe') AND (prLocation LIKE '{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}Germany{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}Germany{1d86ac4e66ad8e751a2742625364938dcef2492ea52f4fbc82f3290cf04f0f02}' OR prCountry = 'Germany')