SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a77a3a4060931ab8b8b381a6a0d8de9caf227ace69002b43b6d11d7f0ad2587c' 
  AND token = 'BTnJpVwHTrpvUwCfNCj9f+eMylvezYvrlhlOD3LnpHc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00058

JSON explain

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