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