SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{106751e1cd9c2513163f8905a45a7b72c63fdf6f8664499e761c9f47cbf98f9c}Pirna{106751e1cd9c2513163f8905a45a7b72c63fdf6f8664499e761c9f47cbf98f9c}' OR prCity = 'Pirna' OR prZip = 'Pirna' OR prStreet LIKE '{106751e1cd9c2513163f8905a45a7b72c63fdf6f8664499e761c9f47cbf98f9c}Pirna{106751e1cd9c2513163f8905a45a7b72c63fdf6f8664499e761c9f47cbf98f9c}' OR prCountry = 'Pirna') AND (prLocation LIKE '{106751e1cd9c2513163f8905a45a7b72c63fdf6f8664499e761c9f47cbf98f9c}Germany{106751e1cd9c2513163f8905a45a7b72c63fdf6f8664499e761c9f47cbf98f9c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{106751e1cd9c2513163f8905a45a7b72c63fdf6f8664499e761c9f47cbf98f9c}Germany{106751e1cd9c2513163f8905a45a7b72c63fdf6f8664499e761c9f47cbf98f9c}' OR prCountry = 'Germany')