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