SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1e5041af28c834bff84a9168174d0688241a2462107bb6bdd2217a180fbfd0f' 
  AND token = 'L+oHeLfGE+nCVRjFCgFW+Hy2wFyks7jObmAJtu/9HMM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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