SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}Bad{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}Bad{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}' OR prCountry = 'Bad') AND (prLocation LIKE '{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}Nauheim{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}' OR prCity = 'Nauheim' OR prZip = 'Nauheim' OR prStreet LIKE '{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}Nauheim{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}' OR prCountry = 'Nauheim') AND (prLocation LIKE '{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}Germany{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}Germany{13d0b4258a14f5f5b9df68405e95ed1e9329478c11fa1296818b5190a0c53bc8}' OR prCountry = 'Germany')