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