SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78a9187024658eb574f9db78a83ba7c3e8621caff0ea7a167231ec6725c89ee4' 
  AND token = '77gArD8HevtvLOle6wruUygIeHooZNWfPTJ6b36dYJc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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