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