SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4d7ab9b510eb5c208f2283b84df26259b1d92ddfd3aae66660053916722cd25e' 
  AND token = '9/fkb6M/0kyoJDFP+XPQhKsvt9ufXsOErSiBRh8G46g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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