SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}Benahavis{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}' OR prCity = 'Benahavis' OR prZip = 'Benahavis' OR prStreet LIKE '{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}Benahavis{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}' OR prCountry = 'Benahavis') AND (prLocation LIKE '{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}Centro{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}' OR prCity = 'Centro' OR prZip = 'Centro' OR prStreet LIKE '{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}Centro{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}' OR prCountry = 'Centro') AND (prLocation LIKE '{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}Spain{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}Spain{230d40ae689a4440bd7d7f6b86777cb24d0a54f7354eb75fb323a18534dd0ea6}' OR prCountry = 'Spain')