SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0eda531a89e611feea1ccdf16209706d0162bd3c2ede769158c6c11a5fcb61ca}Tatlisu{0eda531a89e611feea1ccdf16209706d0162bd3c2ede769158c6c11a5fcb61ca}' OR prCity = 'Tatlisu' OR prZip = 'Tatlisu' OR prStreet LIKE '{0eda531a89e611feea1ccdf16209706d0162bd3c2ede769158c6c11a5fcb61ca}Tatlisu{0eda531a89e611feea1ccdf16209706d0162bd3c2ede769158c6c11a5fcb61ca}' OR prCountry = 'Tatlisu') AND (prLocation LIKE '{0eda531a89e611feea1ccdf16209706d0162bd3c2ede769158c6c11a5fcb61ca}Cyprus{0eda531a89e611feea1ccdf16209706d0162bd3c2ede769158c6c11a5fcb61ca}' OR prCity = 'Cyprus' OR prZip = 'Cyprus' OR prStreet LIKE '{0eda531a89e611feea1ccdf16209706d0162bd3c2ede769158c6c11a5fcb61ca}Cyprus{0eda531a89e611feea1ccdf16209706d0162bd3c2ede769158c6c11a5fcb61ca}' OR prCountry = 'Cyprus')