SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5bf635485eb30cae5e751af33eceb465b9c7bbdc43cf3394e01079e693c416f5' 
  AND token = 'AnayheOud8PQskPweO+opZEeA5OxFX5P18T8Mn/aebk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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