SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa57c872cf96e32183631945ee2f561e8880ca1f54325726b851da27bf7c47ff' 
  AND token = 'gZw0GjtXhAYXsLNj0coUAHcPr/94v56071evUd4h4rA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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