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