SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d5949686a69998b3472fdd11b34b136601d197010cf6405ccf4fafa80fdd71b' 
  AND token = 'XdN2VJmEfarbOznO+8hRbROVfyECa0UrsgwzGhVoMeU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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