SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}Simbach{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}' OR prCity = 'Simbach' OR prZip = 'Simbach' OR prStreet LIKE '{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}Simbach{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}' OR prCountry = 'Simbach') AND (prLocation LIKE '{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}am{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}' OR prCity = 'am' OR prZip = 'am' OR prStreet LIKE '{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}am{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}' OR prCountry = 'am') AND (prLocation LIKE '{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}Inn{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}' OR prCity = 'Inn' OR prZip = 'Inn' OR prStreet LIKE '{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}Inn{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}' OR prCountry = 'Inn') AND (prLocation LIKE '{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}Germany{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}Germany{d63fc163066ba4eb2fca7ecfbb72b9f9a0dd7396c638e50cdae8f86574d92fb3}' OR prCountry = 'Germany')