SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}Berlin{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}Berlin{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}' OR prCountry = 'Berlin') AND (prLocation LIKE '{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}/{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}/{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}' OR prCountry = '/') AND (prLocation LIKE '{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}Neukölln{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}' OR prCity = 'Neukölln' OR prZip = 'Neukölln' OR prStreet LIKE '{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}Neukölln{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}' OR prCountry = 'Neukölln') AND (prLocation LIKE '{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}Germany{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}Germany{b51cf5dfbed68a7247e0dc3fb7187ae8389db7533a4b254ea70548de78edfb8d}' OR prCountry = 'Germany')