SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9de2b8771c6d7e07fe12203a9666e7b255106357a985309685d4cb29caa22956' 
  AND token = '8ijxMFYFUfEb7Ouwkx/PGGQEjriPq8gujTQuy6r+gn8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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