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