SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}Bonn{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}' OR prCity = 'Bonn' OR prZip = 'Bonn' OR prStreet LIKE '{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}Bonn{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}' OR prCountry = 'Bonn') AND (prLocation LIKE '{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}/{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}/{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}' OR prCountry = '/') AND (prLocation LIKE '{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}Röttgen{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}' OR prCity = 'Röttgen' OR prZip = 'Röttgen' OR prStreet LIKE '{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}Röttgen{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}' OR prCountry = 'Röttgen') AND (prLocation LIKE '{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}Germany{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}Germany{afcc30656b78d0a8d0dfc8a43ca3343ac59d793aacf9b0d900c4fdaa3e54f412}' OR prCountry = 'Germany')