SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b499021eda0e591e23e74d16db382b307b2a090f2c93044594e8a0ccadb9064f' 
  AND token = 'l0P5NEoIhMKIzxfVg5txyKZo1a/imalAJeIKPbkTYhA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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