SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7aa8108db7e163d02e04e264886a59fb5e60d6069be3f1f673df3668972745f0' 
  AND token = 'qEnYQUvlweX3QSeBt3wAciOFaZGyoFosxqq32n9nrrU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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