SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '71256c81326c3410792921c27861f4c4167bd2b649b609ab31763069d6daf817' 
  AND token = '5xHOFyURLIzWjYqz1ab2RjEq/MYJtB2kQQJsWQXWzZM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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