How to add two conditions for the php contains

Hi,
Maybe it’s easy but i try this since a long time…
I had a page where the client must enter his password correctely and then it expands a table. (done) But I´d like that he must enter the password exaclty with the same upper and lowercase that it is in the database.

Secondly, i would like that the table expands if he enters the password and the mail he registered in the database

the code i have is

import wixData from ‘wix-data’;
//For full API documentation, including code examples visit Velo API Reference - Wix.com

$w.onReady( function () {
//TODO: import wixData from ‘wix-data’;

$w(“#table1”).collapse();
});

export function searchButton_onClick(event) {
$w(“#table1”).expand();
wixData.query(‘Mipropriedad’)
.contains(‘contrasena’,$w(‘#input2’).value)
.find()
.then(res => {
$w(‘#table1’).rows = res.items;
});
}

Anyone can help me please ?

th url is https://www.bgahouseservices.com/mi-casa

You can look at the wix-data query API for details and examples on creating database filters.