SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a78651a6631263418bce668a803b60f58cf5b5a407c910386041b106bb316c9e' 
  AND token = 'D46M4C8j4REvvpwdsC8Md1TNFISB6uK0LS5QvzvOHrM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}