SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}Teulada{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}' OR prCity = 'Teulada' OR prZip = 'Teulada' OR prStreet LIKE '{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}Teulada{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}' OR prCountry = 'Teulada') AND (prLocation LIKE '{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}Alicante{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}' OR prCity = 'Alicante' OR prZip = 'Alicante' OR prStreet LIKE '{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}Alicante{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}' OR prCountry = 'Alicante') AND (prLocation LIKE '{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}Spain{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}Spain{1e9d6c4c4929ffd11748b43e5119b1ee1d3e92c590bc60c6f0f02182dc668f06}' OR prCountry = 'Spain')