SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e6e9de7b65c754e8ccc1f5fc5de48b64f5baff4644a682bd7cad14082e9adf8b' 
  AND token = 'J7m71WOFsFusB2a6wgMBKIfRAtKZXZJcTl3/Jy6IuyI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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