SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9998d1e930dff8ecc662121f0962c890c04b68b1ceffd67fbf5694f3c6e284c' 
  AND token = 'v3afegPJzn5aDy+YLehaAT9uB9CJvn/XvcWTJQhD3O8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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