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